gh-action-bump-version/action.yml

68 lines
1.9 KiB
YAML
Raw Normal View History

2019-10-26 20:32:18 +00:00
name: Automated Version Bump
2019-10-26 20:29:08 +00:00
description: Automated version bump for npm packages.
2019-10-26 19:06:00 +00:00
runs:
using: node12
2021-08-08 01:28:27 +00:00
main: index.js
2019-10-26 19:06:00 +00:00
branding:
icon: chevron-up
color: blue
2019-11-20 12:37:42 +00:00
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'
2021-07-01 19:36:19 +00:00
required: false
2020-10-09 16:55:11 +00:00
patch-wording:
description: 'Words list that trigger a patch version bump'
2021-07-01 19:36:19 +00:00
required: false
2020-10-09 16:55:11 +00:00
rc-wording:
2021-07-01 20:17:34 +00:00
description: 'Words list that trigger a rc version bump'
2020-10-09 16:55:11 +00:00
default: 'pre-alpha,pre-beta,pre-rc'
2021-07-01 19:36:19 +00:00
required: false
2020-09-06 11:13:52 +00:00
skip-tag:
description: 'Avoid to add a TAG to the version update commit'
default: 'false'
required: false
skip-commit:
description: 'Avoid to add a commit after the version is bumped'
default: 'false'
required: false
2021-12-09 03:20:01 +00:00
skip-push:
description: 'If true, skip pushing any commits or tags created after the version bump'
2021-12-09 03:20:01 +00:00
default: false
required: false
2020-05-05 17:56:37 +00:00
PACKAGEJSON_DIR:
description: 'Custom dir to the package'
default: ''
required: false
2020-11-25 14:47:18 +00:00
target-branch:
description: 'A separate branch to perform the version bump on'
default: ''
required: false
2020-10-23 12:54:06 +00:00
default:
description: 'Set a default version bump to use'
default: 'patch'
required: false
2021-03-09 11:34:54 +00:00
preid:
description: 'Set a custom preid for prerelease build'
default: 'rc'
required: false
commit-message:
description: 'Set a custom commit message for version bump commit'
2021-03-03 01:51:36 +00:00
default: ''
required: false
2021-07-13 21:38:26 +00:00
push:
2021-12-09 03:20:01 +00:00
description: '[DEPRECATED] Set to false to skip pushing the new tag'
2021-07-13 21:38:26 +00:00
default: 'true'
required: false
2020-11-16 16:24:15 +00:00
outputs:
newTag:
description: 'The newly created tag'