Skip to content

Instantly share code, notes, and snippets.

@Paulomart
Last active August 24, 2020 12:22
Show Gist options
  • Save Paulomart/2af1e783ce3ed06ec1984ec6b2603f85 to your computer and use it in GitHub Desktop.
Save Paulomart/2af1e783ce3ed06ec1984ec6b2603f85 to your computer and use it in GitHub Desktop.
Nice Flow Release Guide

Nice Flow Release Guide

Version:= x.x.x

Pull Changes From Remote

git checkout develop
git pull
git checkout master
git pull

Start The Release

git flow release start v<Version>

Bump Version

Edit the package.json file and update the version.

git add package.json
git commit -m ":bookmark: Bump Version to <Version>"

Publish & Test Release Branch

git push -u origin release/v<Version>

Wait for the Build, continue if green

Finish The Release

git flow release finish v<Version>

The the first prompt enter:

:twisted_rightwards_arrows: :bookmark: Release <Version>

For the tagname enter:

v<Version>

For the tag merge enter:

:bookmark: Release <Version>

Push The Release

git checkout develop
git push
git checkout master
git push
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment