- Ensure all tests pass & CI indicates that the status is green.
- Update
VERSION_NAME
ingradle.properties
. - Create a new commit for the version number change, naming it
Bump version to x.y.z
. - Tag that commit as
vx.y.z
(must matchv[0-9]+.[0-9]+.[0-9]+
). - Push all commits & tags to GitHub.
Confirm that the gradle.properties
file in the home directory (~/.gradle/gradle.properties
) is
present and set up correctly.
./gradlew publish
Assuming ./gradlew publish
has been run after a new version has been released.
- Go to https://oss.sonatype.org/#stagingRepositories, login as
chimbori
. - Select the
comchimboricrux-xxxx
repo - Click on
Close
from the top toolbar, wait for it to complete. - Click on
Release
from the top toolbar.
- Install GPG, e.g.
brew install gpg
on macOS. - Locate stored credentials from private storage.
- Run
restore-keys.sh
from the stored credentials directory. - Enter the password for
chimbori
when prompted. This password is different from the Sonatype/Nexus password.
- Copy
gradle.properties.sample
to~/.gradle/gradle.properties
and fill in the missing redacted credentials. - If
gradle.properties.private
exists, it may be used instead.gradle.properties.private
is configured to be.gitignore
d, so make sure it is never pushed to a public repo. - The new machine is now ready and configured for pushing to Maven Central.