We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5df9e30 + c4b70c5 commit 50b9ea0Copy full SHA for 50b9ea0
contrib/upgrade.sh
@@ -85,7 +85,7 @@ fi
85
# confirm update
86
echo "Checking currently installed version..."
87
current=$(giteacmd --version | cut -d ' ' -f 3)
88
-[[ "$current" == "$giteaversion" ]] && echo "$current is already installed, stopping." && exit 1
+[[ "$current" == "$giteaversion" ]] && echo "$current is already installed, stopping." && exit 0
89
if [[ -z "${no_confirm:-}" ]]; then
90
echo "Make sure to read the changelog first: https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md"
91
echo "Are you ready to update Gitea from ${current} to ${giteaversion}? (y/N)"
0 commit comments