Skip to content

Commit

Permalink
gh: Fix arguments to .zip workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Sep 13, 2024
1 parent d421ebe commit 3ff36ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/sync-github-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ _upload_artifacts() {
if echo "${RI[@]}" | grep "otp_${2}_${stripped_name}.zip" > /dev/null; then
if [ ${#MISSING_WIN_ZIP[@]} -lt 20 ]; then
MISSING_WIN_ZIP=("${MISSING_WIN_ZIP[@]}" "${stripped_name}")
_curl_post "${REPO}/actions/workflows/upload-windows-zip.yaml/dispatches" -d '{"version":"'"${stripped_name}"'", "target":"'"${2}"'"}'
_curl_post "${REPO}/actions/workflows/upload-windows-zip.yaml/dispatches" \
-d '{"ref":"master", "inputs":{"version":"'"${stripped_name}"'", "target":"'"${2}"'"}}'
fi
fi
## See if we need to re-build any prebuilds
Expand Down

0 comments on commit 3ff36ef

Please sign in to comment.