@@ -23,22 +23,28 @@ Release Process
2323 "<your password>")
2424
2525 The description of the Sonatype publishment process (everything described below is in a java dir: cd PDAL/java):
26+ - GitHub Actions is responisble for the release process:
27+ - To make a new snapshot release - push commits into the main branch.
28+ - To publish a release - publish the github release through UI or push a tag.
2629 - Publishing snaphots:
30+ Versioning:
31+ - Release versions are derived from the latest (not lightweight) tag version. Each tag should start with v,
32+ i.e. v2.3.0. The snapshot tag happens on commits that follow the tag, and contain git commit hash.
2733 Snapshot can be published without PGP sign, it is published to a snapshot repo and allows immediate snaphot updates.
2834 To publish everything in a local repo use command:
29- - ./scripts/publish-local.sh (publishes scala 2.13 version)
30- - ./scripts/publish-local-212.sh (publishes scala 2.12 version)
31- - ./scripts/publish-local-211.sh (publishes scala 2.11 version)
32- - ./scripts/publish-local-native.sh (publishes native dependencies)
35+ - ./scripts/publish-local.sh
36+ - ./scripts/publish-local-native.sh (publishes native dependencies only)
3337 To publish everything into sonatype snapshot repo use:
3438 - ./scripts/publish-all.sh
3539 Summary:
3640 - Run ./scripts/publish-all.sh and everything is available in a snaphost repository
3741 - Publishing releases:
42+ Versioning:
43+ - Release versions are derived from the latest (not lightweight) tag version. Each tag should start with v,
44+ i.e. v2.3.0.
3845 To publish everything into sonatype snapshot repo (staging repo) use:
39- - ./scripts/publish-all.sh --suffix="" --signed
40- `suffix` defines version suffix (for example `--suffix="-RC1"`)
41- `signed` means that jar would be uploaded into a staging sonatype repo with a PGP sign
46+ - ./scripts/publish-all.sh --signed
47+ Snapshot version is derived from the latest tag version. Releases can be published on tags (not lightweight) only.
4248 Staging means a special repository in a pre released condition.
4349 - Go into staging repos panel: https://oss.sonatype.org/#stagingRepositories (log in using sonatype user / pwd)
4450 - Filter by package name (pdal in our case) and select staging repo
@@ -50,8 +56,8 @@ Release Process
5056 Full official guide: http://central.sonatype.org/pages/ossrh-guide.html
5157 Deploying to sonatype using sbt official doc: http://www.scala-sbt.org/release/docs/Using-Sonatype.html
5258 Official sonatype guide with pics of (https://oss.sonatype.org/#stagingRepositories) and answers the question what
53- to do after jars were published into a staging repo (in our case after ./scripts/publish-all.sh --suffix="" --signed step)
59+ to do after jars were published into a staging repo (in our case after ./scripts/publish-all.sh step)
5460 Summary:
55- - Run ./scripts/publish-all.sh --suffix="" --signed to publish everything into staging repo
61+ - Run ./scripts/publish-all.sh to publish everything into staging repo
5662 - Go to sonatype panel https://oss.sonatype.org/#stagingRepositories and release the jar
5763 - Await ~10 minutes to have jars published to maven central
0 commit comments