Skip to content

How to release a new version of DemocracyOS

Matías Lescano edited this page Jun 30, 2017 · 3 revisions

Requirements

Releases must be started from the master branch exclusively. So, first thing to do should be:

git checkout master

First thing is to update the History.md file with

git changelog --tag x.y.z

being x.y.z the version number.

After that, use the same x.y.z to update the package.json placed at the project root and give a proper styling to History.md file (delete the branch merges lines and give the text more expressiveness.

Commit the version bump like this and push it:

git commit -a "bump to x.y.z"
git push origin master

Then, create a git tag and push it:

git tag x.y.z
git push --tags

And you're done.