Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Releasing Midas

Dave Cole edited this page Jul 13, 2015 · 11 revisions

This assumes devel is a tracking branch of origin/devel

1. Make sure all is good

README should show green for continuous integration tests

git checkout devel
git pull origin devel
./tools/postgres/cleandb.sh
npm update
npm run migrate
npm run init
npm run demo
npm test

all should pass

review commits, prepare release notes

echo "since `git describe --abbrev=0`";git log `git describe --abbrev=0`..HEAD --format=%B > notes.text

2. update version number

git checkout devel
vi package.json
git add .
git commit -m "increment version to 0.0.X"
git push origin devel

3. merge to master

git checkout master
git merge devel

4. tag the release (add release notes in the tag annotation)

git tag -a 0.0.X
git push origin master --tags

5. Add formatted text release notes

Do this through GitHub releases. Use github-changelog-generator to help prepare.

Note: Do theme files need to be changed?

Are there any files in the new release that would be overridden by files in themes, such as https://github.com/18F/midas-open-opportunities? If so, copy the changes to the files in the theme repository.