-
Change the repo's metadata to reflect the impending release
- Update gradle.properties to a non-SNAPSHOT version.
- Update CHANGELOG.md for the impending release.
- Update README.md with the new version.
-
git commit -am "Prepare for release X.Y.Z"
(where X.Y.Z is the new version) -
Open a Pull Request with the above changes. Get it merged.
-
Create a tag for this version
git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the version)- Push this tag to GitHub:
git push && git push --tags
-
Someone with the necessary permissions publishes the repo:
./gradlew clean publish
- Visit Sonatype Nexus and promote the artifact. If this step fails: drop the Sonatype repo, fix the problem, commit, and start again. Visit Maven Central Repository Search to verify the artifact is live. Note that it may take a few hours.
-
Visit the GitHub releases page and create a new release, copying the changelog from CHANGELOG.md.
-
Change the repo's metadata to reflect the next development cycle
- Change gradle.properties to the next SNAPSHOT version.
git commit -am "Prepare next development version"
-
Open a Pull Request with the above changes. Get it merged.
- Set up signatory credentials, or temporarily comment out the
signing
block ingradle/gradle-mvn-push.gradle
. - Run
./gradlew publishToMavenLocal
. - In the other project, add
mavenLocal()
as a repository (likely inallProjects.repositories
of the rootbuild.gradle
file). - Update
com.wealthfront:magellan:X.Y.Z
tocom.wealthfront:magellan-library:SNAPSHOT_VERSION
, whereSNAPSHOT_VERSION
is theVERSION_NAME
defined in this project's./gradle.properties
.