From 2da6c955f35738d0ea74df631d9f23eebdea607f Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:38:06 +0100 Subject: [PATCH] refactor --- ct/forgejo-runner.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ct/forgejo-runner.sh b/ct/forgejo-runner.sh index 4542f1bee..59145398c 100644 --- a/ct/forgejo-runner.sh +++ b/ct/forgejo-runner.sh @@ -37,7 +37,6 @@ function update_script() { systemctl stop forgejo-runner msg_ok "Stopped Services" - msg_info "Fetching latest Forgejo Runner version" RELEASE=$(curl -fsSL https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | grep -oP '"tag_name":\s*"\K[^"]+' | sed 's/^v//') msg_info "Updating Forgejo Runner to v${RELEASE}" curl -fsSL "https://data.forgejo.org/forgejo/runner/releases/download/v${RELEASE}/forgejo-runner-linux-amd64" -o forgejo-runner @@ -47,7 +46,7 @@ function update_script() { msg_info "Starting Services" systemctl start forgejo-runner msg_ok "Started Services" - msg_ok "Update completed successfully!" + msg_ok "Updated successfully!" exit } @@ -56,4 +55,4 @@ build_container description msg_ok "Completed successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" \ No newline at end of file +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"