Skip to content

Commit

Permalink
add wasm binary status to headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 20, 2023
1 parent e618d2f commit 51a98e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ WINDOWS_BINARY_STATUS="skipped"
else
WINDOWS_BINARY_STATUS="none"
fi
if [ -d "../package-wasm-release" ]; then
WASM_BINARY_STATUS=$(cd ../package-wasm-release; (source pkgdata.txt; echo "$JOB_STATUS"))
else
WASM_BINARY_STATUS="none"
fi
fi

upload_package_file(){
Expand All @@ -81,6 +86,7 @@ upload_package_file(){
-H "Builder-Srconly: ${SKIP_BINARIES}" \
-H "Builder-Winbinary: ${WINDOWS_BINARY_STATUS}" \
-H "Builder-Macbinary: ${MACOS_BINARY_STATUS}" \
-H "Builder-Wasmbinary: ${WASM_BINARY_STATUS}" \
-H "Builder-Buildurl: https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" \
-H 'Expect:' \
"${CRANLIKEURL}/${PACKAGE}/${VERSION}/${PKGTYPE}/${MD5SUM}" &&\
Expand Down

0 comments on commit 51a98e4

Please sign in to comment.