Commit e343e39e authored by nanahira's avatar nanahira

fix

parent 2811923a
#!/bin/bash
source ./src/pack-utility.sh
cd pool
searchPath="$1"
if [[ -z "$searchPath" ]]; then
searchPath=pool
fi
currentPath="$PWD"
cd "$searchPath"
for appName in *; do
makeBuild "$appName" "$appName"
makeBuild "$appName" "$appName" "$2"
done
cd ..
cd "$currentPath"
......@@ -34,7 +34,7 @@ makeBuild() {
echo "Version: $appVersion"
currentPath="$PWD"
cd "$appPath"
result=$(tar -I 'zstd -T0' -cf - . | curl -sL -H "$header" -X POST "$apiRoot/release/api/build/$appName/${appVersion}${suffix}" -F file=@-)
result=$(tar -I 'zstd -T0' -cf - . | curl -L -H "$header" -X POST "$apiRoot/release/api/build/$appName/${appVersion}${suffix}" -F file=@-)
handleErrorMessage "$result"
echo "$result" | jq .
cd ..
......
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