-
Checkout dev
git fetch --all git checkout dev git reset --hard origin/dev
-
Create new release
-
Update the NEWS.md file listing the changes from the last release
-
Bump the version in package.json using semantic version
-
Create a version commit with the following messages :
Release [VERSION]
e.g.
git commit -m "Release 3.1.5" --no-verify
-
Push on origin
git push origin/dev
-
-
Create PR against
master
-
Checkout master
git fetch --all git checkout master git reset --hard origin/master
-
Create a tag
git tag [VERSION] git push [VERSION]