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 363075a commit 4e31083Copy full SHA for 4e31083
.github/workflows/cicd-3-deploy.yaml
@@ -22,7 +22,7 @@ env:
22
AWS_REGION: eu-west-2
23
24
jobs:
25
- metadata:
+ metadata2:
26
name: "Set CI/CD metadata"
27
runs-on: ubuntu-latest
28
timeout-minutes: 1
@@ -41,7 +41,7 @@ jobs:
41
- name: "Check version exists"
42
shell: bash
43
run: |
44
- RELEASE_VERSION=$(git tag | grep -oP "^${{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