Skip to content

Commit 1f06912

Browse files
committed
Use github ref name
1 parent 3b58ee8 commit 1f06912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: azure/CLI@v2
4343
with:
4444
inlineScript: |
45-
version=$(git describe --tags --abbrev=0)
45+
version="${{ github.ref_name }}"
4646
echo "Version: $version"
4747
echo "$version" > latest.txt
4848
env:

0 commit comments

Comments
 (0)