Commit 976e9250 authored by nanahira's avatar nanahira

fix

parent a7b55098
......@@ -34,7 +34,7 @@ makeBuild() {
echo "Version: $appVersion"
currentPath="$PWD"
cd "$appPath"
tmpfile=$(mktemp ./upload_XXXXXX.tar.zst)
tmpfile=$(mktemp "$currentPath/upload_XXXXXX.tar.zst")
tar -I 'zstd -T0' -cf "$tmpfile" .
result=$(curl -L -H "$header" -X POST "$apiRoot/release/api/build/$appName/${appVersion}${suffix}" -F "file=@$tmpfile")
rm -f "$tmpfile"
......
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