-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
26 lines (26 loc) · 940 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
name: Prepare release
description: Prepare a new release
inputs:
version:
description: Version to release
required: true
specfiles:
description: Comma-separated list of spec files to update
default: ""
prerelease_suffix_pattern:
description: Regular expression specifying recognized pre-release suffixes
default: "([.\\-_~^]?)(alpha|beta|rc|pre(view)?)([.\\-_]?\\d+)?"
prerelease_suffix_macro:
description: Macro in a spec file that controls whether version is a pre-release
default: ""
token:
description: A `repo` scoped Personal Access Token (PAT)'. Defaults to (autogenerated) secret.GITHUB_TOKEN
default: ${{ github.token }}
runs:
using: "docker"
image: "Dockerfile"
args:
- --prerelease-suffix-pattern="${{ inputs.prerelease_suffix_pattern }}"
- --prerelease-suffix-macro="${{ inputs.prerelease_suffix_macro }}"
- ${{ inputs.version }}
- ${{ inputs.specfiles }}