Skip to content

Commit f934ab0

Browse files
MickLesktremor021
authored andcommitted
Pin ownfoil release to version 2.3.0 (community-scripts#16574)
1 parent bb78614 commit f934ab0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ct/ownfoil.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ function update_script() {
2929
msg_error "No ${APP} Installation Found!"
3030
exit
3131
fi
32-
33-
if check_for_gh_release "ownfoil" "a1ex4/ownfoil"; then
32+
RELEASE="2.3.0"
33+
if check_for_gh_release "ownfoil" "a1ex4/ownfoil" "${RELEASE}" "pinned until 2.4.0 (coming soon) is tested, possible Breaking Changes."; then
3434
msg_info "Stopping Service"
3535
systemctl stop ownfoil
3636
msg_ok "Stopped Service"
3737

3838
create_backup /opt/ownfoil/app/config
3939

40-
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball"
40+
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" "${RELEASE}"
4141

4242
restore_backup
4343

install/ownfoil-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $STD apt install -y git
1818
msg_ok "Installed Dependencies"
1919

2020
setup_uv
21-
fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball"
21+
fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" "2.3.0"
2222

2323
msg_info "Setting up Ownfoil"
2424
cd /opt/ownfoil

0 commit comments

Comments
 (0)