Publishing has been made as simple as possible. Currently alsatian is only deployed on NPM and a GitHub release is made as a result of this.
- get a fresh checkout of the alsatian branch that should be published
- update the version number in package.json
- commit with message "Release {version number}
- run
npm install
- run
npm publish
this will run all tests necessary and stop if any fail - run
git push --follow-tags
this will create the GitHub release by pushing the tags
For every new Major and Minor versions published a branch should be cut from master. The master branch will always contain the most up to date code but all released code will be kept stable in separate branches. All fixes should be merged into master then merged back to the appropriate branches if necessary.