- Move to the
develop
branch and pull.If there are cosmetic modifications to perform on the changelog file, do it now.git checkout develop git pull
- Call the bump version script:
with
./bump_version.sh 0.0.0 0.1.0
0.0.0
the release version number and0.1.0
the next version (without 'v', without '-dev'). - Push the version commit and its tag:
with the according version number.
git push git push origin 0.0.0
- Move to the
master
branch and merge created tag into it. Then push.git checkout master git pull git merge 0.0.0 git push
- Before building the JavaScript bundle, make sure dependencies are up to date:
npm install
- Call the script to create the archive:
with the according version number.
./create_archive.sh 0.0.0
- On GitHub, draft a new release, set the version number with the created tag ("Existing tag" should read). Set the release title with "Version 0.0.0" (with number, you get it?). Copy-paste corresponding section of the changelog file in the release description. Add the created archive file. You can now publish the release.