Repository navigation
Publish releases from CI on tag push, release 4.6.0-3 - #102
Merged
Merged
Conversation
The native matrix moves to a reusable native.yml so ci.yml and the new release.yml share one definition. release.yml mirrors ltrlib's: tag X.Y.Z-N, same SONATYPE_*/PGP_* secrets, pom version must equal the tag, mvn deploy (tests run as the release smoke check), GitHub release with jars attached. maven-gpg-plugin 3.2.8 reads MAVEN_GPG_PASSPHRASE and uses pinentry loopback on the headless runner.
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.
Follow-up to #101: releases were still
mvn deployfrom a laptop.Pushing a tag
X.Y.Z-Nnow runsrelease.yml: builds the natives on all five platforms via the samenative.ymlthatci.ymluses (the matrix is defined once now), checks the pom version equals the tag, runsmvn deploy(tests included, on linux/x86_64) and creates the GitHub release with the jars and.ascfiles attached. Same shape and secret names as ltrlib's release workflow, minus itsprereleaseflag since every version here has a-Nsuffix.This bumps to 4.6.0-3 so the first tag after merge validates the whole path. The
SONATYPE_USERNAME,SONATYPE_PASSWORD,PGP_SECRET,PGP_PASSPHRASEsecrets need to be visible to this repo before tagging.Checked locally:
mvn -DskipTests packagewith maven-gpg-plugin 3.2.8, actionlint clean. The publish step itself can only be exercised by the tag.