-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
Description
Description
If everything goes fine, and upgrade.sh concludes that the running version of Gitea already is the latest, it exits with status 1, as if there was an error. It would be as if apt upgrade exited with status 1 whenever all packages were already up to date.
Line 88 in 57b8441
| [[ "$current" == "$giteaversion" ]] && echo "$current is already installed, stopping." && exit 1 |
I suggest exiting with status 0 in this situation.
Gitea Version
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Downloading and running https://github.com/go-gitea/gitea/blob/main/contrib/upgrade.sh.
Database
None