Repository navigation
Conversation
ZPascal
marked this pull request as draft
October 27, 2026 20:39
ZPascal
force-pushed
the
release-workflow-5.x.x
branch
2 times, most recently
from
October 27, 2026 21:03
9be424e to
f8a2418
Compare
ZPascal
marked this pull request as ready for review
October 27, 2026 21:21
Contributor
Author
|
@Kehrlann Do you've any update? |
This was referenced Nov 20, 2026
Replace the Concourse release pipeline with a manually triggered workflow that creates the release and snapshot commits, signs and deploys to Maven Central via the Central Portal, pushes the tag and creates a GitHub release. Swap artifactory-maven-plugin for central-publishing-maven-plugin.
ZPascal
force-pushed
the
release-workflow-5.x.x
branch
from
December 3, 2026 20:36
f8a2418 to
d5d6551
Compare
- Only run on 5.x.x. main builds with Java 17 and still uses artifactory-maven-plugin, so a release from there would fail or not reach Maven Central. - Push the tag before deploying and the development version after it. A release on Maven Central can't be taken back, so a later push failure, for example because 5.x.x moved during the run, must not leave a published release without its tag. - Add a dry-run input, on by default. It uploads the bundle with autoPublish=false and waits only for validation, and skips all pushes and the GitHub release.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This moves the 5.x.x release from Concourse to GitHub Actions.
There is a new
release.ymlworkflow that you start by hand on 5.x.x. You give it the release version and the next snapshot version. It then:ci/create-release.shThe tag goes out before the deploy because a release on Maven Central can't be taken back. If the deploy fails, delete the tag again.
The
dry-runinput is on by default. Then the workflow only uploads the bundle to the Central Portal and waits for validation, without publishing it, and skips the pushes and the GitHub release. You can look at the bundle in the portal and drop it there. For a real release, untick it.It only runs on 5.x.x for now. main builds with Java 17 and still uses the Artifactory plugin, so it needs its own change.
In the parent
pom.xmlI swappedartifactory-maven-pluginforcentral-publishing-maven-plugin. The Artifactory plugin was only there for the Concourse promote step.Before the first run:
CENTRAL_USERNAME(Central Portal user token name)CENTRAL_PASSWORD(Central Portal user token)MAVEN_GPG_PRIVATE_KEY(armored private key used to sign)MAVEN_GPG_PASSPHRASE(passphrase of that key)org.cloudfoundrynamespace verified in the Central PortalI haven't run the workflow yet. I only checked that the YAML parses and
./mvnw validatepasses. The old Concourse scripts inci/are removed; onlycreate-release.shis kept, since the workflow uses it.