Skip to content
Ken Krugler edited this page Nov 2, 2015 · 3 revisions

1. Make sure source is up to date

  • % git pull

2. Make sure there are no pending changes

  • % git status

3. Do a clean test

  • % ant clean test

4. Edit version numbers to be 1.X.0 (i.e., without SNAPSHOT):

  • % bbedit pom.xml
  • % bbedit build.properties

5. Install the target jar into your local Maven repository

  • % ant clean install

6. Commit your changes to your local git repository and the remote git repository

  • % git commit -am "Releasing version 1.X.0"
  • % git push

7. Push the jar to conjars

  • % scp -i ~/.ssh/id_rsa_bixolabs pom.xml build/cascading.classify-1.X.0.jar [email protected]:

8. Test the installed jar [optional]

  • % rm -rf ~/.m2/repository/com/scaleunlimited/cascading.classify/1.X.0
  • modify a project to use version 1.X.0
  • build and verify that project

9. Tag the release

  • % git tag -am "Tagging version 1.X.0" 1.X.0
  • % git push --tags

10. Update the version numbers to be 1.(X+1)-SNAPSHOT

  • % bbedit pom.xml
  • % bbedit build.properties

11. Push the new version numbers

  • % git commit -am "Bumping (restoring) version number after release"
  • % git push

12. Send out email

Clone this wiki locally