We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3039bf6 commit 4ba8cacCopy full SHA for 4ba8cac
1 file changed
.github/workflows/deploy.yml
@@ -36,7 +36,7 @@ jobs:
36
steps:
37
- name: Set Release Version
38
run: |
39
- RELEASE_VERSION=${GITHUB_REF#refs/tags/v}
+ RELEASE_VERSION=${TAG#v}
40
if [[ $RELEASE_VERSION =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)?$ ]]; then
41
echo "PACKAGE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
42
else
@@ -45,6 +45,8 @@ jobs:
45
echo 'Please update your tag to match the expected regex pattern'
46
exit 1
47
fi
48
+ env:
49
+ TAG: ${{ github.event.release.tag_name }}
50
51
- name: Checkout
52
uses: actions/checkout@v6
0 commit comments