Skip to content

Conversation

eric-j-ason
Copy link
Contributor

Exit upgrade.sh with status 0 (instead of status 1) when the installed Gitea is already on the latest version and nothing needs to be done.

Fixes #35309

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 19, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 19, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 19, 2025
Exit `upgrade.sh` with status 0 (instead of status 1) when the installed Gitea is already on the latest version and nothing needs to be done. Fixes go-gitea#35309
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 19, 2025
@lunny lunny merged commit c4b70c5 into go-gitea:main Aug 19, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.25.0 milestone Aug 19, 2025
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 19, 2025
@eric-j-ason eric-j-ason deleted the upgrade-script branch August 19, 2025 19:27
@eric-j-ason
Copy link
Contributor Author

Thank you!

zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 20, 2025
* giteaofficial/main: exit with success when already up to date (go-gitea#35312) Update to golangci-lint@v2.4.0 (go-gitea#35310) Upgrade devcontainer go version to 1.24.6 (go-gitea#35298)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/internal

5 participants