Publish the library modules to Sonatype Central #1
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/scalatags-datastar!1
Loading…
Reference in a new issue
No description provided.
Delete branch "publishing-setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replicates the
scalatags-webawesomepublishing setup.What this does
PublishModules underworks.iterative:datastar→scalatags-datastar(JVM + Scala.js)tapir→scalatags-datastar-tapir(JVM + Scala.js)sse→scalatags-datastar-sse(JVM)tapirsse→scalatags-datastar-tapirsse(JVM)scenariosdogfood app stays unpublished.CommonPom+ aPublishedtrait..github/workflows/publish.ymlrunningSonatypeCentralPublishModule/publishAll,PGP-signed from the three repo secrets.
Verified locally
./mill __.publishLocal— correct coordinates, correct inter-module POM dependencies(e.g.
tapirsse→-tapir/-sse), and uninstrumented jars (scoverage stays out ofthe published artifact).
⚠️ Note on merging
The shared version is
0.1.0-SNAPSHOT. Merging this tomaintriggers the Publishworkflow, which publishes
0.1.0-SNAPSHOTto Sonatype Central's snapshot repo. To cuta real release instead, bump
publishVerto0.1.0, then tag and pushv0.1.0.🤖 Generated with Claude Code