Creating a new release for the Libraries Repository
This document contains information about how to tag a new release for libraries and update the default repository.
Creating a Release in the Libraries Repository
- Checkout the code as detailed on http://code.google.com/p/wave-protocol/source/checkout?repo=libraries
- Run ant test and check the results to see that all is well. If any tests are broken make sure that they are reported using the issue tracker or delay the release until they are fixed.
- Run hg tag `date +%Y-%m-%d` to tag a new release (i.e. with date format 2010-12-31). Run hg push to push the tag to the outside world.
- Run ant release and find the dist/wave-libraries-<date>.zip file.
- Upload this file on http://code.google.com/p/wave-protocol/downloads/entry mark it as Type-Archive and Featured.
- Go to the downloads list on http://code.google.com/p/wave-protocol/downloads/list and find the previous release, click on it and then mark it as deprecated.
Updating the default repository with the new libraries release
- Checkout the code from http://code.google.com/p/wave-protocol/source/checkout?repo=default
- Browse to third_party/runtime/wave-libraries and overwrite the existing .jar files with the new ones (i.e. cp /path/to/wave-protocol/libraries/dist/*.jar /path/to/wave-protocol/third_party/runtime/wave-libraries)
- Edit README.google to state the latest version
- Run ant test and verify that everything is in order, fix where necessary.
- Run hg commit -m "Update wave-libraries to `date +%Y-%m-%d`" and do a hg push.