-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
29 lines (29 loc) · 819 Bytes
/
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
name: 'Next SemVers'
description: 'Output the next version for major, minor, and patch version based on the given semver version'
branding:
icon: 'clock'
color: 'orange'
inputs:
version:
description: 'A SemVer version'
required: true
strict:
description: 'Strict version validation, when turned off, the version is suffixed with `.0` until it contains 3 x `.`.'
default: "true"
required: false
outputs:
major:
description: 'Next Major Version'
minor:
description: 'Next Minor Version'
patch:
description: 'Next Patch Version'
v_major:
description: 'Next Major Version (prefixed with v)'
v_minor:
description: 'Next Minor Version (prefixed with v)'
v_patch:
description: 'Next Patch Version (prefixed with v)'
runs:
using: 'docker'
image: 'Dockerfile'