From 096cbd8d589a23263956b2eb31d07594f1dc0172 Mon Sep 17 00:00:00 2001 From: Ellet <ellet@freshplatform.net> Date: Sun, 19 May 2024 19:28:26 +0300 Subject: [PATCH] ci: fix the extract version step to not extract the v at the start --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 237d92f4..98830388 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -55,7 +55,7 @@ jobs: - name: Extract version from the release tag id: extract_version run: | - version=$(echo ${GITHUB_REF} | sed 's/^refs\/tags\/\(.*\)$/\1/') + version=$(echo ${GITHUB_REF} | sed 's/^refs\/tags\/v\(.*\)$/\1/') echo "VERSION=${version}" >> $GITHUB_OUTPUT - name: Update the version & CHANGELOG for all the packages