21 lines
451 B
Markdown
21 lines
451 B
Markdown
# Automatic upgrade for Gitea on Linux AMD64
|
|
|
|
## 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
|
|
|
|
|