@@ -26,10 +26,29 @@ $ sdk u java 24.ea-open
2626
2727``` bash 
2828$ ./gradlew build [-Pskip.test]
29+ 
2930#  Run the app
3031$ ./gradlew :backend:jvm:run
32+ 
33+ #  Publish to local repo
34+ $ ./gradlew buildAndPublish
3135``` 
3236
37+ ### Publishing  
38+ 
39+ Push a new tag to trigger the release workflow and publish the artifacts. That's it 🎉.
40+ The next version will be based on the semantic version scope (` major ` , ` minor ` , ` patch ` )
41+ 
42+    ``` bash 
43+    $ ./gradlew pushSemverTag " -Psemver.scope=patch" 
44+ 
45+    #  To see the current version
46+    #  ./gradlew v
47+ 
48+    #  Print the new version
49+    #  ./gradlew printSemver "-Psemver.scope=patch"
50+    ``` 
51+ 
3352<details >
3453<summary > <b >Multiplatform Targets</b ></summary >
3554
@@ -246,7 +265,7 @@ $ ./gradlew :backend:jvm:run
246265  ``` bash 
247266  $ ./gradlew publishAllPublicationsToLocalRepository
248267
249-   #  Publishing to all repo except Central
268+   #  Publishing to all repo except Maven  Central
250269  $ ./gradlew buildAndPublish
251270
252271  #  Maven Central Publishing
@@ -262,9 +281,10 @@ $ ./gradlew :backend:jvm:run
262281  $ export  ORG_GRADLE_PROJECT_signingInMemoryKeyPassword=< Password> 
263282  $ export  ORG_GRADLE_PROJECT_signingInMemoryKey=$( gpg --export-secret-keys --armor ${ORG_GRADLE_PROJECT_signingInMemoryKeyId}  |  grep -v ' \-\-' |  grep -v ' ^=.' |  tr -d ' \n' ) 
264283
265-   #  For aggregated publication (preferred)
284+   #  For aggregated publication (preferred) to Central 
266285  $ ./gradlew publishAggregatedPublicationToCentralPortal
267-   #  For all publications
286+ 
287+   #  For all publications (separate publications)
268288  $ ./gradlew publishAllPublicationsToCentralPortal
269289  ``` 
270290
0 commit comments