2.2.0 • Published 2 months ago

angular-release v2.2.0

Weekly downloads
28
License
MIT
Repository
github
Last release
2 months ago

Angular Release

A script to build releases based on Standard conventional changelog.

Install

npm i --save-dev angular-release
# or
yarn add -D angular-release

Usage

npx angular-release

How it works

  • you choose the kind of release you want to do (see screenshot below)
    • release-candidate
    • patch
    • minor
    • major
  • the script will update your package.json file
  • create or update CHANGELOG.md (unless you choosed release-candidate)
  • commit chore(release): vX.Y.Z
  • push
  • tag (unless you choosed release-candidate)
  • and finally create a Github Release (unless you choosed release-candidate and only if GITHUB_OAUTH_TOKEN environment 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 .env file with GITHUB_OAUTH_TOKEN variable
  • 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 release
  • ENABLE_RELEASE_CANDIDATE: Enable release candidate feature
  • RELEASE_CANDIDATE_PREID: release candidate pre-id string (default: rc)
  • ALLOW_RELEASE_CANDIDATE_TAG: Allow release candidate to create tag with the chosen version
  • ALLOW_RELEASE_CANDIDATE_CHANGELOG: Allow release candidate to update changelog
  • ALLOW_RELEASE_CANDIDATE_GH_RELEASE: Allow release candidate to create Github release

Screenshot

2.2.0

2 months ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.0.0

5 years ago

1.2.0

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.0

7 years ago