gh-action-bump-version/action.yml

45 lines
1.2 KiB
YAML

name: Automated Version Bump
description: Automated version bump for npm packages.
runs:
using: docker
image: Dockerfile
branding:
icon: chevron-up
color: blue
inputs:
tag-prefix:
description: 'Prefix that is used for the git tag'
default: ''
required: false
minor-wording:
description: 'Words list that trigger a minor version bump'
default: 'feat,minor'
required: false
major-wording:
description: 'Words list that trigger a major version bump'
default: 'BREAKING CHANGE,major'
patch-wording:
description: 'Words list that trigger a patch version bump'
rc-wording:
description: 'Words list that trigger a patch version bump'
default: 'pre-alpha,pre-beta,pre-rc'
skip-tag:
description: 'Avoid to add a TAG to the version update commit'
default: 'false'
required: false
PACKAGEJSON_DIR:
description: 'Custom dir to the package'
default: ''
required: false
branch:
description: 'A separate branch to perform the version bump on'
default: ''
required: false
default:
description: 'Set a default version bump to use'
default: 'patch'
required: false
outputs:
newTag:
description: 'The newly created tag'