Skip to content

Commit

Permalink
COOP-270: fix cd workflow if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieWhi committed Nov 6, 2023
1 parent 85f6134 commit 7167524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
VERSION=$(grep -m1 version mix.exs | cut -d'"' -f2)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Check version
if: github.event.release.tag_name != ${{ env.VERSION }}
if: ${{ github.event.release.tag_name != env.VERSION }}
run: |
echo "Github ref tag [${{ github.event.release.tag_name }}] is different from mix.exs version [${{ env.VERSION }}]"
exit 1
Expand Down

0 comments on commit 7167524

Please sign in to comment.