From e33d3b004887bfff825786bb50901ce64be490a3 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 25 Feb 2025 10:37:20 +0000 Subject: [PATCH] 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 Co-committed-by: Earl Warren --- examples/lxc-systemd/forgejo-runner-service.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/lxc-systemd/forgejo-runner-service.sh b/examples/lxc-systemd/forgejo-runner-service.sh index ce4ceca..cc9a124 100755 --- a/examples/lxc-systemd/forgejo-runner-service.sh +++ b/examples/lxc-systemd/forgejo-runner-service.sh @@ -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 }