2021-09-28 19:47:54 +02:00
|
|
|
# Automatic upgrade for Gitea on Linux AMD64
|
2021-09-28 19:46:29 +02:00
|
|
|
|
|
|
|
## WARNING
|
|
|
|
No guarantees, only tested in my environment, don't come and complain.
|
|
|
|
|
|
|
|
## Prerequisite
|
|
|
|
|
|
|
|
Please fill in the `work` and `gitea` variables at the beginning of the script (usually, only `work` have to be customize).
|
|
|
|
|
|
|
|
## Use
|
|
|
|
|
|
|
|
```
|
|
|
|
./upgrade-gitea.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
You can specify a version, else it take the last stable.
|
|
|
|
|
|
|
|
If something go wrong, you will find a backup of your last executable in /tmp/gitea
|
|
|
|
|
|
|
|
|