forked from conventional-actions/next-version
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
62 lines (62 loc) · 1.99 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
name: 'next-version'
description: 'Next version using conventional commits'
author: 'Conventional Actions'
branding:
icon: 'hash'
color: 'purple'
inputs:
path:
required: false
description: 'filter commits to the path provided'
prefix:
required: false
description: 'prefix to prepend to versions'
default: 'v'
tag-prefix:
required: false
description: 'specify a prefix for the git tag to be ignored from the semver checks'
default: 'v'
skip-unstable:
required: false
description: 'if true, unstable tags (e.g. x.x.x-alpha.1, x.x.x-rc.2) will be skipped'
default: 'false'
outputs:
release-type:
description: 'type of release (none, major, minor, patch, prerelease)'
current-version:
description: 'the current version (v1.2.2rc2)'
current-version-major:
description: 'the major version (v1)'
current-version-minor:
description: 'the major and minor version (v1.2)'
current-version-patch:
description: 'the major, minor and patch version (v1.2.2)'
current-version-major-only:
description: 'the major version component (1)'
current-version-minor-only:
description: 'the minor version component (2)'
current-version-patch-only:
description: 'the patch version component (2)'
current-version-prerelease-only:
description: 'the prerelease version only (rc2)'
version:
description: 'the new version (v1.2.3)'
version-major:
description: 'the major version (v1)'
version-minor:
description: 'the major and minor version (v1.2)'
version-patch:
description: 'the major, minor and patch version (v1.2.3)'
version-major-only:
description: 'the major version component (1)'
version-minor-only:
description: 'the minor version component (2)'
version-patch-only:
description: 'the patch version component (3)'
version-prerelease-only:
description: 'the prerelease version only (rc2)'
bumped:
description: 'true if the version has been bumped'
runs:
using: 'node20'
main: 'dist/index.js'