From 66e9221ef95c862a1d8522649c68fc217f2ff6a6 Mon Sep 17 00:00:00 2001 From: Pavel Tsiukhtsiayeu Date: Fri, 7 Feb 2025 15:04:26 -0500 Subject: [PATCH] Update cd.yml Version comparison fixed --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}