We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a99bd6a commit 5a5d142Copy full SHA for 5a5d142
.github/workflows/release.yml
@@ -3,7 +3,7 @@ name: Release
3
on:
4
push:
5
tags:
6
- - "*"
+ - "v*"
7
8
jobs:
9
release:
release.sh
@@ -8,6 +8,11 @@ function main {
exit 1
fi
10
11
+ if ! [[ "${release_version}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
12
+ echo "Release version must be of the form 'v1.2.3'"
13
+ exit 1
14
+ fi
15
+
16
git commit -am "Release ${release_version}" --allow-empty
17
git cliff --tag "${release_version}" -o
18
git commit --amend -a
0 commit comments