(These instructions are mostly just for me, as I'm always forgetting the exact steps...)
Make sure the global gradle.properties file has all the signing details set up (on Windows, that's C:\Users\dean.gradle\gradle.properties, on Mac/Linux that's ~/.gradle/gradle.properties). The contents of the file are saved in Keep.
- Update all the references to version numbers
README.md
src/docs/getting-started.html
gradle.properties
- Build/Upload
# gradlew publish
-
Publishing
- Go to https://oss.sonatype.org
- Find the "aucomcodeka" entry under "Staging Repositories"
- Open up the contents, make sure all the JARs and so on are there
- Close it, wait a bit
- Release it, wait a bit
-
Create a new entry in https://github.com/codeka/carrot/releases. The compiled .jar can be found in build\libs, and should be attached to the release. Otherwise, mostly just cut'n'paste from the previous release and add details about what's changed.
-
Update docs
gradlew buildDocs
- Check out the gh-pages branch
- Completely replace the contents of that branch with the output in build/docs (in particular, make sure files that were not included in build/docs are not in gh-pages)
git commit -m "Updated docs" && git push