Skip to content

Commit cd2c615

Browse files
committed
CI: fix release
1 parent 554949a commit cd2c615

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ jobs:
7979
id: get_version
8080
run: |
8181
VERSION_STRING=$(ruby -r ./lib/daemon_controller/version.rb -e "puts DaemonController::VERSION_STRING")
82-
if ! [[ "$GITHUB_REF_NAME" =~ ^v ]]; then
83-
echo "Tag name must start with a 'v'."
82+
if ! [[ "$GITHUB_REF_NAME" =~ ^release- ]]; then
83+
echo "Tag name must start with a 'release-'."
8484
exit 1
8585
fi
86-
if [[ "$GITHUB_REF_NAME" != "v${VERSION_STRING}" ]]; then
86+
if [[ "$GITHUB_REF_NAME" != "release-${VERSION_STRING}" ]]; then
8787
echo "Tag version ($GITHUB_REF_NAME) does not match version.rb ($VERSION_STRING)"
8888
exit 1
8989
fi

0 commit comments

Comments
 (0)