ci: fix the extract version step to not extract the v at the start

pull/1879/head
Ellet 11 months ago
parent b122f8c351
commit 096cbd8d58
  1. 2
      .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

Loading…
Cancel
Save