From 6b8120e2b387470ab32a18607b27079903b0cd99 Mon Sep 17 00:00:00 2001 From: Tobias Salzmann <796084+Eun@users.noreply.github.com> Date: Tue, 28 Apr 2026 13:30:06 +0200 Subject: [PATCH] use fetch_and_deploy_gh_release --- ct/alpine-cinny.sh | 4 ++-- install/alpine-cinny-install.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/alpine-cinny.sh b/ct/alpine-cinny.sh index b353de2a..927ec125 100644 --- a/ct/alpine-cinny.sh +++ b/ct/alpine-cinny.sh @@ -28,12 +28,12 @@ function update_script() { exit fi - if check_for_gh_tag "cinny" "cinnyapp/cinny"; then + if check_for_gh_release "cinny" "cinnyapp/cinny"; then msg_info "Backing up Data" cp /opt/cinny/config.json /tmp/cinny_config.json msg_ok "Backed up Data" - CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "cinny" "cinnyapp/cinny" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cinny" "cinnyapp/cinny" msg_info "Restoring Configuration" cp /tmp/cinny_config.json /opt/cinny/config.json diff --git a/install/alpine-cinny-install.sh b/install/alpine-cinny-install.sh index 63b8052e..4ddec1a4 100644 --- a/install/alpine-cinny-install.sh +++ b/install/alpine-cinny-install.sh @@ -20,7 +20,7 @@ msg_ok "Installed Dependencies" msg_info "Installing Cinny" -fetch_and_deploy_gh_tag "cinny" "cinnyapp/cinny" +fetch_and_deploy_gh_release "cinny" "cinnyapp/cinny" cat <<'EOF' >/etc/nginx/http.d/default.conf server { @@ -45,7 +45,6 @@ server { EOF $STD rc-update add nginx default $STD rc-service nginx start -echo "${RELEASE}" >/opt/"${APPLICATION}"_version.txt msg_ok "Installed Cinny" motd_ssh