diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 458338f..180ea53 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 }}