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 75cf541 commit 9579917Copy full SHA for 9579917
.github/workflows/cicd-3-deploy.yaml
@@ -41,7 +41,7 @@ jobs:
41
- name: "Check version exists"
42
shell: bash
43
run: |
44
- RELEASE_VERSION=$(git tag | grep -oFx "${{inputs.version-to-deploy}}")
+ RELEASE_VERSION=$(git tag | grep -oP "^${{inputs.version-to-deploy}}$")
45
if [[ -z "$RELEASE_VERSION" ]]; then
46
echo "Invalid version number ${{inputs.version-to-deploy}} does not exist."
47
exit 1
0 commit comments