We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39b03aa + ae0c601 commit 099f921Copy full SHA for 099f921
.github/workflows/extension-public-release.yml
@@ -27,8 +27,7 @@ jobs:
27
- run: yarn install --immutable
28
- name: Extract Version
29
run: |
30
- # Remove 'v' prefix and anything after a hyphen
31
- VERSION=$(echo "${{ env.TAG_NAME }}" | sed -E 's/^v//; s/-.*//')
+ VERSION=$(echo "${{ env.TAG_NAME }}" | sed -E 's/^.*-v([0-9]+(\.[0-9]+){0,3}).*$/\1/')
32
echo "VERSION=$VERSION" >> $GITHUB_ENV
33
- name: Zip
34
run: yarn zip
0 commit comments