Commit a7b55098 authored by nanahira's avatar nanahira

fix

parent 503b2885
...@@ -35,7 +35,7 @@ makeBuild() { ...@@ -35,7 +35,7 @@ makeBuild() {
currentPath="$PWD" currentPath="$PWD"
cd "$appPath" cd "$appPath"
tmpfile=$(mktemp ./upload_XXXXXX.tar.zst) tmpfile=$(mktemp ./upload_XXXXXX.tar.zst)
tar -I 'zstd -T0' -cvf "$tmpfile" . tar -I 'zstd -T0' -cf "$tmpfile" .
result=$(curl -L -H "$header" -X POST "$apiRoot/release/api/build/$appName/${appVersion}${suffix}" -F "file=@$tmpfile") result=$(curl -L -H "$header" -X POST "$apiRoot/release/api/build/$appName/${appVersion}${suffix}" -F "file=@$tmpfile")
rm -f "$tmpfile" rm -f "$tmpfile"
handleErrorMessage "$result" handleErrorMessage "$result"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment