btcpay update to v2.0.5, nbxplorer to v2.5.17

change needed for UPDATE menu to work with btcpay v2
This commit is contained in:
openoms 2025-01-17 17:47:19 +01:00
parent b20e9f0bab
commit 2a30efdbbb
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -3,9 +3,9 @@
# Based on: https://gist.github.com/normandmickey/3f10fc077d15345fb469034e3697d0d0
# https://github.com/dgarage/NBXplorer/tags
NBXplorerVersion="v2.5.2"
NBXplorerVersion="v2.5.17"
# https://github.com/btcpayserver/btcpayserver/releases
BTCPayVersion="v1.13.0"
BTCPayVersion="v2.0.5"
# check who signed the release (person that published release)
#PGPsigner="nicolasdorier"
@ -927,12 +927,12 @@ if [ "$1" = "update" ]; then
REMOTE=$(git rev-parse "$UPSTREAM")
if [ $LOCAL = $REMOTE ]; then
TAG=$(git tag | grep v1 | sort -V | tail -1)
TAG=$(git tag | grep v2 | sort -V | tail -1)
echo "# Up-to-date on version $TAG"
else
echo "# Pulling latest changes..."
sudo -u btcpay git pull -p
TAG=$(git tag | grep v1 | sort -V | tail -1)
TAG=$(git tag | grep v2 | sort -V | tail -1)
echo "# Reset to the latest release tag: $TAG"
sudo -u btcpay git reset --hard $TAG
# PGP verify - disabled for the update