forked from ChloePlanet/github-tag-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 903 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
30
name: 'Git Tag Generator'
description: 'Generate and push SemVer formatted git tag on push/merge with specified commit message'
author: 'Chloe Zhang'
runs:
using: 'docker'
image: 'Dockerfile'
outputs:
last_tag:
description: 'The latest tag before running this action'
new_tag:
description: 'Newly generated tag'
tag_generated:
description: '1 if new tag is generated successfully. 0 if no tag is generated'
last_major:
description: 'The major part of last tag'
last_minor:
description: 'The minor part of last tag'
last_patch:
description: 'The patch part of last tag'
major:
description: 'The major part of new tag'
minor:
description: 'The minor part of new tag'
patch:
description: 'The patch part of new tag'
bump_ver:
description: 'The bump version string e.g. `major`, `minor` or `patch`'
branding:
icon: 'tag'
color: 'yellow'