Skip to content

Commit

Permalink
Version comparison fixed in CD
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltyk authored Feb 7, 2025
1 parent 675a59e commit f80fe3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: mix deps.get
- name: Get version
run: |
VERSION=$(grep -m1 version mix.exs | cut -d'"' -f2)
VERSION=$(grep -m1 version mix.exs | cut -d'"' -f2 | awk '{print "v" $0}')
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Check version
if: ${{ github.event.release.tag_name != env.VERSION }}
Expand Down

0 comments on commit f80fe3e

Please sign in to comment.