forked from remorses/bump-version
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
48 lines (47 loc) · 1.39 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: "Bump Versions"
description: "A GitHub Action to easily bump version files"
author: "Tommaso De Rossi"
branding:
icon: "chevrons-up"
color: "red"
inputs:
version_file:
description: "Version file to bump path"
default: "VERSION"
required: false
prefix:
description: "how to prefix the tag"
default: ""
required: false
github_token:
description: "the github token to push changes"
required: false
prerelease_tag:
description: "The prerelease tag, for example alpha will give you the version `0.0.1-alpha.0`"
required: false
branch:
description: "The branch to bump version in"
required: false
default: ""
ignore:
description: "Filenames to ignore, separated by commas"
required: false
default: ""
skipCiMessageLocation:
description: |
Determines how to prevent another GitHub Actions run when `bump-version` creates a commit
for the version update. The following options are supported:
- `subject` (default): adds `[skip ci]` suffix to the end of the commit's subject line.
- `trailer`: adds a `skip-checks: true` trailer to the commit.
required: false
default: "subject"
outputs:
version:
description: New version
prefix:
description: Prefix if set
runs:
using: "node12"
main: "lib/main.js"
# [bump]
# 2.0.58 // TODO regex match the rag