mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-06-27 16:35:58 +00:00
fix(examples): systemd LXC units upgrade must install the runner (#479)
Install the version of the runner that the upgraded script needs. Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/479 Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
74dc687c1d
commit
e33d3b0048
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ function upgrade_safely() {
|
|||
curl --fail -sS -o $upgrade https://code.forgejo.org/forgejo/runner/raw/tag/v$version/examples/lxc-systemd/forgejo-runner-service.sh
|
||||
fi
|
||||
chmod +x $upgrade
|
||||
$upgrade install_runner
|
||||
$upgrade install_or_update_lxc_helpers
|
||||
$upgrade install_or_update_self
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue