From f9cb44982ed9e64126f309558099387b456d8b2e Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:40:40 +0000 Subject: [PATCH] Thunderhub update (#4404) * fix: tunderhub update dubious ownership error * thunderhub update to v0.13.30 --- CHANGES.md | 1 + home.admin/config.scripts/bonus.thunderhub.sh | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 2a5eb32f4..3a8ba2bb4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,7 @@ - Update: JoininBox v0.8.2 [details](https://github.com/openoms/joininbox/releases/tag/v0.8.2) - Update: LND v0.17.3-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.3-beta) - Update: RTL v0.14.1 [details](https://github.com/Ride-The-Lightning/RTL/releases/tag/v0.14.1) +- Update: Thunderhub v0.13.30 [details](https://github.com/apotdevin/thunderhub/releases/tag/v0.13.30) - Update: Core Lightning v23.11.2 [details](https://github.com/ElementsProject/lightning/releases/tag/v23.11.2) - Update: C-lightningREST v0.10.7 [details](https://github.com/Ride-The-Lightning/c-lightning-REST/releases/tag/v0.10.7) - Update: CLBOSS 0.13+ (latest master 0673c50) [details](https://github.com/ZmnSCPxj/clboss/releases/tag/v0.13) diff --git a/home.admin/config.scripts/bonus.thunderhub.sh b/home.admin/config.scripts/bonus.thunderhub.sh index 1ea91982b..aa912c160 100755 --- a/home.admin/config.scripts/bonus.thunderhub.sh +++ b/home.admin/config.scripts/bonus.thunderhub.sh @@ -1,7 +1,7 @@ #!/bin/bash # https://github.com/apotdevin/thunderhub -THUBVERSION="v0.13.19" +THUBVERSION="v0.13.30" # command info if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then @@ -377,11 +377,11 @@ if [ "$1" = "update" ]; then # unset $1 set -- UPSTREAM=${1:-'@{u}'} - LOCAL=$(git rev-parse @) - REMOTE=$(git rev-parse "$UPSTREAM") + LOCAL=$(sudo -u thunderhub git rev-parse @) + REMOTE=$(sudo -u thunderhub git rev-parse "$UPSTREAM") if [ $LOCAL = $REMOTE ]; then - TAG=$(git tag | sort -V | tail -1) + TAG=$(sudo -u thunderhub git tag | sort -V | tail -1) echo "# Up-to-date on version" $TAG else echo "# Pulling latest changes..."