Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.41 KB

deploy.md

File metadata and controls

40 lines (29 loc) · 1.41 KB

Deploying Carrot

(These instructions are mostly just for me, as I'm always forgetting the exact steps...)

Prerequisites

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.

Building/Deploying

  1. Update all the references to version numbers
README.md
src/docs/getting-started.html
gradle.properties
  1. Build/Upload
# gradlew publish
  1. Publishing

    1. Go to https://oss.sonatype.org
    2. Find the "aucomcodeka" entry under "Staging Repositories"
    3. Open up the contents, make sure all the JARs and so on are there
    4. Close it, wait a bit
    5. Release it, wait a bit
  2. 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.

  3. Update docs

    1. gradlew buildDocs
    2. Check out the gh-pages branch
    3. 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)
    4. git commit -m "Updated docs" && git push