cmdline

How to Upgrade Gitea

How to Upgrade Gitea

wretchedghost
Updating gitea is a simple as replacing the binary in /usr/local/bin/gitea. Stop the gitea service $ sudo systemctl stop gitea Move the current binary from gitea to gitea.old just in case things break. $ sudo mv /usr/local/bin/gitea /usr/local/bin/gitea.old Use wget to get the the current version: example -> https://github.com/go-gitea/gitea/releases/download/v1.20.2/gitea-1.20.2-linux-amd64. This is not the latest version, this is just an example. cd ~/Downloads && wget https://github.com/go-gitea/gitea/releases/download/v1.20.2/gitea-1.20.2-linux-amd64 Change the name of the file from gitean-x.