Skip to content
Chris Maloney edited this page Jul 14, 2015 · 23 revisions

This page has a detailed step-by-step instructions for a developer to follow to release a new version of the DtdAnalyzer package.

  1. Make sure the README.md is up-to-date with any important changes. (Don't worry about the version numbers.)

  2. Make sure that ReleaseNotes.md has all the new features, enhancements, etc.

  3. Decide on version number, e.g., 0.8 (for something fairly major) or 0.8.12 (for mostly bug-fixes) and then run

    script/fixversion.pl <version> 
  4. Commit and push.

  5. [Optional, if you think there might be a lot of cruft in your working directory.] Move your working repository out of the way, and clone a fresh writable copy of the repository; for example,

    $ mv DtdAnalyzer DtdAnalyzer.save $ git clone git@github.com:ncbi/DtdAnalyzer.git 
  6. Do a full build, with the command ant. Make sure this builds the zip files. Check the size of the zip files to make sure they are sane (~5 Meg).

  7. Run script/push-website.pl

  8. Try it out from the zip files, downloaded from the buttons in the DtdAnalyzer home pages.

  9. If that works, then push the website to production.

  10. Tag the repository with the new version number (“v0.8”), and push that tag:

``` $ git tag -a v0.8 -m 'Tagging version 0.8' $ git push --tags ``` 
  1. Run script/fixversion.pl dev to set append "-dev" to the version number.

  2. Commit and push that, one last time.

  3. Announce to (ideas): * JATS list * xml-dev list * Google plus * Twitter

close