generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
64 lines (60 loc) · 2.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: 'Version Tagger'
description: 'GitHub Action to automate tag-based version control. For both production and development.'
author: 'GregoryGost'
branding:
icon: 'git-branch'
color: 'blue'
inputs:
token:
description: 'The GitHub Token to use for reference management in the repo'
required: true
version:
description: 'Version from previous action output. Pattern semver https://semver.org/: `x.y.z`'
required: false
uselasttag:
description:
'Use latest available tag as source version. Applies the latest available tag received from the repository for the
source version. If there are no available tags, it takes the version from the base logic: `package.json` file or
default version `0.1.0`'
required: false
default: false
prefix:
description: 'A prefix that will appear immediately before the tag version. Example: `v` => `v1.0.0`'
required: false
postfix:
description: 'Postfix that will appear immediately after the tag version. Example: `beta` => `v1.0.0-beta.0`'
required: false
postfixnoup:
description:
'Do not apply version upgrade to postfix. No number will be added to the postfix. Example: `v1.0.0-beta`,
`2.5.1-rc`'
required: false
default: false
metadata:
description:
'Add your own metadata, or use the sliced sha1 version hash.. Example: `build123` or `fyf2c5fr` =>
`v1.0.0-beta.1+fyf2c5fr`'
required: false
releasetype:
description:
'Release type version. `major`(X.y.z) or `minor`(x.Y.z) or `patch`(x.y.Z). If not specified, then no version will
be incremented. All variants: `major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, `prerelease`. More in
semver doc: https://github.com/npm/node-semver/blob/main/README.md'
required: false
auto:
description:
'Forced version update. DANGEROUS-1!!! May be incorrect because in some cases duplicates the version upgrade.
DANGEROUS-2!!! The version in the file may not match what will be in the tags as a result. If `FALSE`, no
automatic promotions will be made.'
required: false
default: false
dryrun:
description: 'If this value is true, the tag will not be pushed. Use for test this action'
required: false
default: false
outputs:
newtag:
description: 'Output of the resulting tag. Example: `v1.0.0` | `v1.2.0-beta.5`'
runs:
using: node20
main: dist/index.js