Skip to content

Standard Version NodeJS

Actions
Calculate new version based on Conventional Commits, update CHANGELOG and create new git tag
v1.8.0
Latest
By ltv
Star (0)

Standard Version Action

This Github Action calculates the new version based on Conventional Commits, updates CHANGELOG, and creates the new git tag. It's powered by Standard Version.

Inputs

If you want to change a configuration, create a .versionrc.js file. More detail: versionrc file

Example usage

- uses: actions/checkout@v2
- name: Configure committer
  run: |
    git config user.name "GitHub Actions Bot"
    git config user.email "<>"
- name: Bump version
  id: release
  uses: ltv/standard-version-action@v2
  with:
    releaseAs: 'minor'
- run: |
    echo "Released version: $VERSION"
  env:
    VERSION: ${{ steps.release.output.version }}

Inputs:

inputs:
  releaseAs:
    description: 'Release as major|minor|patch'
    required: false
    default: 'minor'
  prerelease:
    description: 'Pre-release version alpha|beta|...'
    required: false

Standard Version NodeJS is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Calculate new version based on Conventional Commits, update CHANGELOG and create new git tag
v1.8.0
Latest
By ltv

Standard Version NodeJS is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.