generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
28 lines (28 loc) · 867 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
name: 'Get Next Version'
description: 'Get the next version for a project release based on conventional commits'
author: UGRC
branding:
icon: 'arrow-right-circle'
color: 'purple'
inputs:
prerelease:
description: 'Determines if the proposed version number includes a prerelease tag (e.g. 1.0.0-0)'
required: false
default: 'false'
repo-token:
description: 'A token with access to your repo (e.g. {{ secrets.GITHUB_TOKEN }})'
required: true
outputs:
version:
description: 'The new version e.g. (v1.0.0)'
major:
description: 'The new major version number e.g. (1)'
minor:
description: 'The new minor version number e.g. (0)'
patch:
description: 'The new patch version number e.g. (0)'
current-version-number:
description: 'The current version number e.g. (1.0.0)'
runs:
using: 'node20'
main: 'dist/index.js'