From c892d393e751f12cd5aae5e0845af73e95cd3c1e Mon Sep 17 00:00:00 2001 From: Norwin Date: Sun, 6 Feb 2022 21:07:52 +0100 Subject: [PATCH] Add `contrib/upgrade.sh` (#18286) Adds an upgrade script that automates upgrading installations on Linux from binary releases, so people don't need to reinvent the wheel. Hopefully this leads to less questions about how to upgrade, and consequently less Gitea instances running unmaintained versions in the wild. Co-authored-by: delvh Co-authored-by: Gusted Co-authored-by: zeripath Co-authored-by: 6543 <6543@obermui.de> --- doc/upgrade/from-gitea.en-us.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/upgrade/from-gitea.en-us.md b/doc/upgrade/from-gitea.en-us.md index c3c46a14..2f64e0fa 100644 --- a/doc/upgrade/from-gitea.en-us.md +++ b/doc/upgrade/from-gitea.en-us.md @@ -76,6 +76,8 @@ a snapshot for the Gitea data volume and related object storage is more convenie * Replace the installed Gitea binary with the downloaded one. * Start the Gitea instance. +A script automating these steps for a deployment on Linux can be found at [`contrib/upgrade.sh` in Gitea's source tree](https://github.com/go-gitea/gitea/blob/main/contrib/upgrade.sh). + ## Take care about customized templates Gitea's template structure and variables may change between releases, if you are using customized templates,