Thunderhub update (#4404)

* fix: tunderhub update dubious ownership error
* thunderhub update to v0.13.30
This commit is contained in:
openoms 2024-02-14 19:40:40 +00:00 committed by GitHub
parent f67c8fd11c
commit f9cb44982e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -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)

View file

@ -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..."