fix bracket
This commit is contained in:
parent
fd8ea6f127
commit
0ab310c6b5
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ for apk in $apkgs; do
|
||||||
|
|
||||||
echo "Sending $name of arch $arch to $TARGET_REPO/$BASEBRANCH/$branch"
|
echo "Sending $name of arch $arch to $TARGET_REPO/$BASEBRANCH/$branch"
|
||||||
return=$(curl --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch 2>&1)
|
return=$(curl --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch 2>&1)
|
||||||
|
echo $return
|
||||||
if [ "$return" == "package file already exists" ]; then
|
if [ "$return" == "package file already exists" ]; then
|
||||||
echo "Package already exists, deleting and resending"
|
echo "Package already exists, deleting and resending"
|
||||||
curl --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$arch/$name
|
curl --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$arch/$name
|
||||||
|
|
Loading…
Reference in a new issue