We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 554949a commit cd2c615Copy full SHA for cd2c615
.github/workflows/ci.yaml
@@ -79,11 +79,11 @@ jobs:
79
id: get_version
80
run: |
81
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'."
+ if ! [[ "$GITHUB_REF_NAME" =~ ^release- ]]; then
+ echo "Tag name must start with a 'release-'."
84
exit 1
85
fi
86
- if [[ "$GITHUB_REF_NAME" != "v${VERSION_STRING}" ]]; then
+ if [[ "$GITHUB_REF_NAME" != "release-${VERSION_STRING}" ]]; then
87
echo "Tag version ($GITHUB_REF_NAME) does not match version.rb ($VERSION_STRING)"
88
89
0 commit comments