- Create a release on GitHub (https://github.com/approvals/ApprovalTests.Java/releases/new)
GitHub workflows will do the rest.
- We only deploy
approvaltestsandapprovaltests-util, the other projects do not need to be deployed
- Check that the GitHub workflow succeeded. (Typically ~3 minutes)
- Check that the release is available on Maven Central (https://search.maven.org/artifact/com.approvaltests/approvaltests). (Typically ~30 minutes)
- https://central.sonatype.com/publishing/deployments
- Note: You must be logged in as Llewellyn.
- https://repo1.maven.org/maven2/com/approvaltests/approvaltests/
- https://central.sonatype.com/artifact/com.approvaltests/approvaltests
- Need a username and password from sonatype account (token)
- https://central.sonatype.com/account
- Generate a User Token. This token encapsulates a username and password.
- Environment variables
MAVEN_USERNAME_2025andMAVEN_PASSWORD_2025
- Need a GPG key to sign the artifacts
- Environmental variables
GPG_PRIVATE_KEYandGPG_PASSPHRASE - You can test this with
internal_documentation/test_gpg_key.sh
- Environmental variables
- You can set versions using
mvn versions:set -DnewVersion=100.0.0-SNAPSHOT