change message
This commit is contained in:
parent
eeda897b9b
commit
fa59f4eb1e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ for apk in $apkgs; do
|
||||||
return=$(curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch 2>&1)
|
return=$(curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch 2>&1)
|
||||||
echo $return
|
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, refreshing..."
|
||||||
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$arch/$name
|
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$arch/$name
|
||||||
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch
|
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue