forked from K-Phoen/semver-release-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (37 loc) · 960 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: 'Semver Release'
description: 'Automatically create Semver compliant tags or releases based on PR labels'
author: 'Kévin Gomez'
branding:
icon: 'tag'
color: 'green'
inputs:
release_branch:
description: 'Branch to tag'
required: true
default: master
release_strategy:
description: 'Release strategy'
required: true
default: release
tag_format:
description: 'Format used to create tags'
required: true
default: 'v%major%.%minor%.%patch%'
tag:
description: 'Tag to use'
required: false
default_increment:
description: 'Default increment to use'
required: false
outputs:
tag:
description: 'The newly created tag'
runs:
using: 'docker'
image: 'docker://ghcr.io/adamantal/semver-release-action:v0.2.0'
args:
- ${{ inputs.release_branch }}
- ${{ inputs.release_strategy }}
- ${{ inputs.tag }}
- ${{ inputs.tag_format }}
- ${{ inputs.default_increment }}