Auto bump version
ActionsBumps target branch version on PR merge.
Major version bump label. Default "major".
Minor version bump label. Default "minor".
Patch version bump label. Default "patch".
Should the default version command be called (valid npm version argument). Default false.
Default version command if no label is provided (valid npm version argument). Default "patch".
name: Bump version
on:
pull_request:
types: [ closed ]
branches: [ master, dev, "release/*" ]
jobs:
tag-and-push:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.base.ref }}
- name: Auto bump version
uses: kaskar2008/action-auto-bump-version@v1Auto bump version 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.