You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ jobs:
70
70
| `noVersionBumpBehavior` | Whether to exit with an error *(default)*, a warning, silently, the current version or force bump using patch when none of the commits result in a version bump. (Possible values: `error`, `warn`, `current`, `patch` or `silent`) | :x: | `error` |
71
71
| `prefix` | A prefix that will be striped when parsing tags (e.g. `foobar/`). Any other prefix will be ignored. Useful for monorepos. The prefix will be added back to the output values. | :x: | |
72
72
| `skipInvalidTags` | If set to `true`, will skip tags that are not valid semver until it finds a proper one (up to `maxTagsFetch` from latest). | :x: | `false` |
73
+
| `tagFilter` | If defined, only tags matching the regex pattern will be included (e.g. `^[a-f0-9.]+$`). Use a negative lookahead match to exclude tags (e.g. `^(?!abcd).*$`). When used in conjunction with the prefix option, the prefix is striped first, then the filter is applied. | :x: | |
Copy file name to clipboardexpand all lines: action.yml
+22-18
Original file line number
Diff line number
Diff line change
@@ -25,25 +25,13 @@ inputs:
25
25
description: If set to true, will ignore patchList and count any commit as a Patch
26
26
required: false
27
27
default: 'false'
28
-
skipInvalidTags:
29
-
description: If set to true, will skip tags that are not valid semver until it finds a proper one (up to maxTagsFetch from latest).
30
-
required: false
31
-
default: 'false'
32
-
noVersionBumpBehavior:
33
-
description: Whether to exit with an error, warning or silently when none of the commits result in a version bump. (error, warn, current, patch, silent)
34
-
required: false
35
-
default: error
36
-
noNewCommitBehavior:
37
-
description: Whether to exit with an error, warning or silently when there are no new commits since the latest tag. (error, warn, current, silent)
38
-
required: false
39
-
default: error
40
-
prefix:
41
-
description: A prefix that will be striped when parsing tags (e.g. `foobar/`). Any other prefix will be ignored. The prefix will be added back to the output values.
42
-
required: false
43
-
default: ''
44
28
additionalCommits:
45
29
description: A list of additional commit messages to parse in order to calculate semver.
46
30
required: false
31
+
fallbackTag:
32
+
description: Fallback tag to use if no latest tag is found.
33
+
required: false
34
+
default: ''
47
35
fromTag:
48
36
description: Override the tag to use when comparing against the branch in order to fetch the list of commits.
49
37
required: false
@@ -52,8 +40,24 @@ inputs:
52
40
description: Maximum number of tags to fetch from latest.
53
41
required: false
54
42
default: '10'
55
-
fallbackTag:
56
-
description: Fallback tag to use if no latest tag is found.
43
+
noNewCommitBehavior:
44
+
description: Whether to exit with an error, warning or silently when there are no new commits since the latest tag. (error, warn, current, silent)
45
+
required: false
46
+
default: error
47
+
noVersionBumpBehavior:
48
+
description: Whether to exit with an error, warning or silently when none of the commits result in a version bump. (error, warn, current, patch, silent)
49
+
required: false
50
+
default: error
51
+
prefix:
52
+
description: A prefix that will be striped when parsing tags (e.g. `foobar/`). Any other prefix will be ignored. The prefix will be added back to the output values.
53
+
required: false
54
+
default: ''
55
+
skipInvalidTags:
56
+
description: If set to true, will skip tags that are not valid semver until it finds a proper one (up to maxTagsFetch from latest).
57
+
required: false
58
+
default: 'false'
59
+
tagFilter:
60
+
description: If defined, only tags matching the regex pattern will be included (e.g. `^[a-f0-9.]+$`). Use a negative lookahead match to exclude tags (e.g. `^(?!abcd).*$`). When used in conjunction with the prefix option, the prefix is striped first, then the filter is applied.
0 commit comments