
## To prepare the release:

Add release notes to 

* website/history.html

Update the version number in

* RELEASING.md (this file)
* README.md
* README.txt
* build.xml
* website/index.html
* website/history.html

## To push a new release to Maven Central:

[Generic instructions](https://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html)

1. git checkout master
2. git pull
3. ant clean
4. ant maven2
5. Run `ant bundle` from the repository root. This runs `ant sign` which
  calls `gpg` for each artifact, then assembles `dist/maven2/bundle.zip`.
  If your signing key is not the default GPG key, pass its ID:
  `ant bundle -Dgpg.keyname=YOURKEYID`

6. Login to the [Central Publishing Portal](https://central.sonatype.com/publishing).

7. Select Publish in the upper right hand corner.

8. Click Publish Component

9. Fill in XOM release version as the title and add release notes in the box.

10. Select xom/dist/maven2/bundle.zip and press **Upload Bundle**. If bundle.zip doesn't work, try individual artifacts instead. 

11. Select staging repositories in the left hand side.

12. Scroll to the bottom and find the bundle you just uploaded. Select it.

13. Close the repository. Wait.

14. Release the repository.

15. Tag the release on GitHub.

16. Update README.md with the new version number.

## To update the website:

1. sftp the files to IBiblio including the assorted jar and zip files

2. Upload the various binary archives to Github as release assets by editing the latest release on https://github.com/elharo/xom/releases/

3. ant website

4. cd dist/website

5. Upload the site to Dreamhost (add details...)
