fix syntax issue (#585)

This commit is contained in:
Sahil Bansal 2025-08-27 16:06:29 +05:30 committed by GitHub
parent 6dcbd15923
commit 850f2c1dc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,8 @@ jobs:
id: version
run: |
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
TAG_VERSION="${{ github.ref#refs/tags/ }}"
TAG_VERSION="${{ github.ref }}"
TAG_VERSION="${TAG_VERSION#refs/tags/}"
echo "version=$TAG_VERSION" >> $GITHUB_OUTPUT
else
echo "No tag found."