Skip to content

Commit a9d4148

Browse files
committed
Remove 'v' from filename version
1 parent fa9882a commit a9d4148

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/create_draft_release.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ else
2626
fi
2727
# echo "UPLOAD_URL=$REST_RESPONSE" >> $GITHUB_OUTPUT # Use this if you need to access the URL in a later step with steps.zip-release.outputs.UPLOAD_URL
2828
# Upload archives to the draft release
29-
for FILE in "libzim_wasm_$VERSION.zip" "libzim_asm_$VERSION.zip"
29+
$NUMERIC_VERSION=$(sed 's/^v//' <<<"$VERSION")
30+
for FILE in "libzim_wasm_$NUMERIC_VERSION.zip" "libzim_asm_$NUMERIC_VERSION.zip"
3031
do
3132
echo -e "\nUploading $FILE to $UPLOAD_URL?name=$FILE..."
3233
curl \

0 commit comments

Comments
 (0)