Standard Version NodeJS
ActionsCalculate new version based on Conventional Commits, update CHANGELOG and create new git tag
v1.8.0
LatestBy ltv
Tags
(2)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.
If you want to change a configuration, create a .versionrc.js
file. More detail: versionrc file
- 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.