From 766dda6e4ea5a4f6a66724aff225b4e37eb6662f Mon Sep 17 00:00:00 2001 From: Anthony Griffon Date: Wed, 29 Nov 2023 23:28:46 +0100 Subject: [PATCH] fix: version with a v Signed-off-by: Anthony Griffon --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 5b5768b..f3e7bd7 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - name: Get the release version from the tag if: env.VERSION == '' - run: echo "${{ github.ref_name }}" | sed -En 's/^swarmd-v(.*)$/VERSION=\1/p' >> $GITHUB_ENV + run: echo "${{ github.ref_name }}" | sed -En 's/^swarmd-v(.*)$/VERSION=v\1/p' >> $GITHUB_ENV - name: Get the swarmd release version from the tag if: env.RELEASE_NAME == '' run: echo "RELEASE_NAME=${{ github.ref_name }}" >> $GITHUB_ENV