|
8 | 8 | # dispatch uploads first and creates NO tag, so a Drop lets the SAME version be retried. The tag + release/<version> |
9 | 9 | # marker are created by a human AFTER the VALIDATED deployment is confirmed (see the release runbook). |
10 | 10 | # |
11 | | -# Versioning (decision "b"): the source stays at 0.0.1-SNAPSHOT permanently; the release coordinate is never |
12 | | -# committed. It comes from the `version` input and is injected via -Pversion, which build.gradle reads through |
13 | | -# providers.gradleProperty('version'). So dispatching version=0.0.1 publishes org.htcom:protean:0.0.1. |
| 11 | +# Versioning (decision "b"): the release coordinate is never committed. It comes from the `version` input and is |
| 12 | +# injected via -Pversion, which build.gradle reads through providers.gradleProperty('version'). So dispatching |
| 13 | +# version=0.1.0 publishes org.htcom:protean:0.1.0. The committed default is the NEXT version as a SNAPSHOT |
| 14 | +# (0.1.0-SNAPSHOT while 0.1.0 is being worked towards), bumped right after each release — it used to hold the |
| 15 | +# released version permanently, which made a development build announce itself as older than the release it |
| 16 | +# already surpassed once the SSE `ready` frame started reporting it as `platformVersion`. |
14 | 17 | # |
15 | 18 | # Signing: in-memory (vanniktech signAllPublications → Bouncy Castle). No gpg binary or keyring is installed on the |
16 | 19 | # runner; the armored private key is supplied as a string. The key, its passphrase, and the Central Portal user |
|
79 | 82 | ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralPassword }} |
80 | 83 | # The container isolation track tells consumers to run ghcr.io/<owner>/protean-worker:<version>, so a release |
81 | 84 | # that only ships the library leaves that track with no image to pull: ci.yml pushes the image on main, but at |
82 | | - # the development version (0.0.1-SNAPSHOT), never at the release coordinate. Same -Pversion as the upload, and |
| 85 | + # the development SNAPSHOT, never at the release coordinate. Same -Pversion as the upload, and |
83 | 86 | # build.gradle puts that version in jib's `to.image`, so this pushes exactly one tag — there is no floating |
84 | 87 | # `latest` for a release to fight a later snapshot over. Runs AFTER the Central upload deliberately — the upload is |
85 | 88 | # the gated, expensive half, and a GHCR tag pushed for a deployment that is later Dropped is deletable, while |
|
0 commit comments