You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/create_draft_release.sh
+3-3
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,9 @@
4
4
# It is designed to be run by a GitHub action. To test, from the commandline, supply $VERSION and $GITHUB_TOKEN.
5
5
6
6
echo"Zipping the release archives..."
7
-
zip libzim_wasm_$VERSION.zip libzim-wasm.*
8
-
zip libzim_asm_$VERSION.zip libzim-asm.*
7
+
NUMERIC_VERSION=$(sed 's/^v//'<<<"$VERSION")
8
+
zip libzim_wasm_$NUMERIC_VERSION.zip libzim-wasm.*
9
+
zip libzim_asm_$NUMERIC_VERSION.zip libzim-asm.*
9
10
echo"Creating the draft release..."
10
11
REST_RESPONSE=$(
11
12
curl \
@@ -26,7 +27,6 @@ else
26
27
fi
27
28
# 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
0 commit comments