Skip to content

Commit 9579917

Browse files
Revert "VIA-598 Adjust check for version number exists in deploy job"
This reverts commit 3e2e35d.
1 parent 75cf541 commit 9579917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cicd-3-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: "Check version exists"
4242
shell: bash
4343
run: |
44-
RELEASE_VERSION=$(git tag | grep -oFx "${{inputs.version-to-deploy}}")
44+
RELEASE_VERSION=$(git tag | grep -oP "^${{inputs.version-to-deploy}}$")
4545
if [[ -z "$RELEASE_VERSION" ]]; then
4646
echo "Invalid version number ${{inputs.version-to-deploy}} does not exist."
4747
exit 1

0 commit comments

Comments
 (0)