In order to release follow the following procedure.
In order for this to work first need to setup github through cmd
Authenticate to github via username/password or SSH.
- run
git config --global credential.helper wincred
- this will persist the credentials (for windows)
- Trigger push command e.g.
git push origin develop
- Auth to github by providing username and password/token
RC release process
- Checkout
develop
branch (or release branch) - Run
gulp publish
Stable release process
- Checkout
master
- Run
gulp publish --rel --bump major|minor|patch (default: patch)
- Merge
master => develop
Commands in order to help release easier.
Quick publish an "RC", this will prepare release and commit.
gulp publish
Quick publish a stable release, this will prepare release and commit.
gulp publish --rel --bump major|minor|patch|prerelease (default: patch)
Create a new build, test, bump version and generate changelog.
gulp prepare-release --bump major|minor|patch|prerelease (default: patch)
Commit, push and create tag.
gulp perform-release