2.2.0 • Published 2 years ago
angular-release v2.2.0
Angular Release
A script to build releases based on Standard conventional changelog.
Install
npm i --save-dev angular-release
# or
yarn add -D angular-releaseUsage
npx angular-releaseHow it works
- you choose the kind of release you want to do (see screenshot below)
release-candidatepatchminormajor
- the script will update your
package.jsonfile - create or update
CHANGELOG.md(unless you choosedrelease-candidate) - commit
chore(release): vX.Y.Z - push
- tag (unless you choosed
release-candidate) - and finally create a Github Release (unless you choosed
release-candidateand only ifGITHUB_OAUTH_TOKENenvironment variable is passed to node)
Github Release
To create a Github Release you must add the GITHUB_OAUTH_TOKEN environment variable. There is two way to do it :
- create a
.envfile withGITHUB_OAUTH_TOKENvariable - set the environment variable before running the script:
GITHUB_OAUTH_TOKEN=xxx node_modules/.bin/angular-release
All available env options:
GITHUB_OAUTH_TOKEN: Github token used to create Github releaseENABLE_RELEASE_CANDIDATE: Enable release candidate featureRELEASE_CANDIDATE_PREID: release candidate pre-id string (default: rc)ALLOW_RELEASE_CANDIDATE_TAG: Allow release candidate to create tag with the chosen versionALLOW_RELEASE_CANDIDATE_CHANGELOG: Allow release candidate to update changelogALLOW_RELEASE_CANDIDATE_GH_RELEASE: Allow release candidate to create Github release
Screenshot
2.2.0
2 years ago
2.1.3
6 years ago
2.1.2
6 years ago
2.1.1
6 years ago
2.0.0
7 years ago
1.2.0
8 years ago
1.1.7
8 years ago
1.1.6
8 years ago
1.1.5
8 years ago
1.1.4
8 years ago
1.1.3
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.0
8 years ago