-
Notifications
You must be signed in to change notification settings - Fork 16
/
action.yml
72 lines (68 loc) · 1.69 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
63
64
65
66
67
68
69
70
71
72
name: 'Calver Release'
description: 'Automatically create Calver compliant tags or releases based on PR labels'
author: 'Stéphane Bour'
branding:
icon: 'tag'
color: 'green'
inputs:
release_branch:
description: 'Branch to tag'
required: false
default: master
name:
description: 'The title of the release'
required: false
default: '0'
message:
description: 'The message of the release'
required: false
default: '0'
draft:
description: 'Is draft ?'
required: false
default: 'false'
pre:
description: 'Is pre-release ?'
required: false
default: 'false'
release:
description: 'Create new release'
required: false
default: 'true'
date_format:
description: 'Format date in posix shell'
required: false
default: '%Y.%V'
version_regexp:
description: 'Extended regexp for grep to match existing versions'
required: false
default: '^20[^\-]*$'
patch_separator:
description: 'Separator to use between version and patch level'
default: '.'
outputs:
release:
description: 'The newly created release version'
title:
description: 'Release title'
changelog:
description: 'Changelog generated for the release body'
draft:
description: 'Is the release a draft'
pre:
description: 'Is the release a pre-release'
created:
description: 'Was a release created'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.release_branch }}
- ${{ inputs.name }}
- ${{ inputs.message }}
- ${{ inputs.draft }}
- ${{ inputs.pre }}
- ${{ inputs.release }}
- ${{ inputs.date_format }}
- ${{ inputs.version_regexp }}
- ${{ inputs.patch_separator }}