Skip to content

Commit 72e9981

Browse files
committed
This should be it
1 parent 119d7b9 commit 72e9981

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-and-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
steps:
6262
- name: Checkout (fetch tags)
6363
uses: actions/checkout@v4
64+
with:
65+
fetch-depth: 0
6466

6567
- name: Determine tag and annotated message
6668
id: taginfo
@@ -94,7 +96,7 @@ jobs:
9496
-H "Accept: application/vnd.github.v3+json" \
9597
https://api.github.com/repos/${{ github.repository }}/releases \
9698
-d "{\"tag_name\":\"${{ steps.taginfo.outputs.tag }}\",\"name\":\"${{ steps.taginfo.outputs.tag }}\",\"body\":$(echo '${{ steps.taginfo.outputs.body }}' | jq -Rs .),\"draft\":false,\"prerelease\":false}")
97-
99+
98100
UPLOAD_URL=$(echo $RESPONSE | jq -r '.upload_url' | sed 's/{?name,label}//')
99101
echo "upload_url=$UPLOAD_URL" >> $GITHUB_OUTPUT
100102

0 commit comments

Comments
 (0)