mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 20:58:37 -06:00
fix: Version management
This commit is contained in:
parent
8231d104fa
commit
46c052ae72
1 changed files with 3 additions and 1 deletions
|
@ -269,8 +269,10 @@ if [ $error == 1 ]; then
|
||||||
$GOTIFY_NOTIFICATIONS && gotify_send_msg "$msg"
|
$GOTIFY_NOTIFICATIONS && gotify_send_msg "$msg"
|
||||||
$NTFY_NOTIFICATIONS && ntfy_send_msg "$msg"
|
$NTFY_NOTIFICATIONS && ntfy_send_msg "$msg"
|
||||||
|
|
||||||
[[ $2 != buildonly ]] && mv versions-new.json versions-fail.json || mv versions-new.json versions.json
|
[[ $2 != buildonly ]] && mv versions-new.json versions-fail.json || rm versions-new.json
|
||||||
exit 4
|
exit 4
|
||||||
|
else
|
||||||
|
mv versions-new.json versions.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $TG_UPLOAD; then
|
if $TG_UPLOAD; then
|
||||||
|
|
Loading…
Reference in a new issue