- Update
VERSION_NAME
ingradle.properties
to the release (non-SNAPSHOT) version. - Update
CHANGELOG.md
for the impending release.- Change the
Unreleased
header to the version, appending today's date - Add a new
Unreleased
section to the top. - Add a link URL at the bottom to ensure the impending release header link works.
- Update the
Unreleased
link URL to compare this new version...HEAD
- Change the
- Update
README.md
with the new version. git commit -am "Prepare version X.Y.Z"
(where X.Y.Z is the new version)git tag -a X.Y.Z -m "X.Y.Z"
(where X.Y.Z is the new version)- Update
VERSION_NAME
ingradle.properties
to the next SNAPSHOT version. git commit -am "Prepare next development version"
git push && git push --tags
This will trigger a GitHub Action workflow which will create a GitHub release and upload the release artifacts to Maven Central.
- Update
VERSION_NAME
ingradle.properties
to the internal release (non-SNAPSHOT) version. [2.0.0-internal01] Ensure that the name doesn't collide with an already released version. - Update
RELEASE_SIGNING_ENABLED
ingradle.properties
tofalse
. - Check that the internal variables are configured correctly:
internalUrl
is set in~/.gradle/gradle.properties
to the internal repository URL.- Check
internalUsername
andinternalPassword
are set in~/.gradle/gradle.properties
to the internal repository credentials.
- Run
./gradlew publishMavenPublicationToInternalRepository paparazzi-gradle-plugin:publishAllPublicationsToInternalRepository --no-parallel
to publish the internal release.- Note if gradle publish fails with
403
error, ensure theVERSION_NAME
in step 1 is unique and isn't already published.
- Note if gradle publish fails with