mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-07-08 22:40:27 +02:00
c-lightningREST update to v0.7.0
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# https://github.com/Ride-The-Lightning/c-lightning-REST/releases/
|
# https://github.com/Ride-The-Lightning/c-lightning-REST/releases/
|
||||||
CLRESTVERSION="v0.6.1"
|
CLRESTVERSION="v0.7.0"
|
||||||
|
|
||||||
# help
|
# help
|
||||||
if [ $# -eq 0 ]||[ "$1" = "-h" ]||[ "$1" = "--help" ];then
|
if [ $# -eq 0 ]||[ "$1" = "-h" ]||[ "$1" = "--help" ];then
|
||||||
@ -17,6 +17,15 @@ if [ $# -eq 0 ]||[ "$1" = "-h" ]||[ "$1" = "--help" ];then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Example for commits created on GitHub:
|
||||||
|
#PGPsigner="web-flow"
|
||||||
|
#PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
||||||
|
#PGPpubkeyFingerprint="4AEE18F83AFDEB23"
|
||||||
|
|
||||||
|
PGPsigner="saubyk"
|
||||||
|
PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
||||||
|
PGPpubkeyFingerprint="00C9E2BC2E45666F"
|
||||||
|
|
||||||
source <(/home/admin/config.scripts/network.aliases.sh getvars cl $2)
|
source <(/home/admin/config.scripts/network.aliases.sh getvars cl $2)
|
||||||
|
|
||||||
echo "# Running 'cl.rest.sh $*'"
|
echo "# Running 'cl.rest.sh $*'"
|
||||||
@ -84,11 +93,8 @@ if [ "$1" = on ];then
|
|||||||
cd c-lightning-REST || exit 1
|
cd c-lightning-REST || exit 1
|
||||||
sudo -u bitcoin git reset --hard $CLRESTVERSION
|
sudo -u bitcoin git reset --hard $CLRESTVERSION
|
||||||
|
|
||||||
PGPsigner="saubyk"
|
|
||||||
PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
|
||||||
PGPpubkeyFingerprint="00C9E2BC2E45666F"
|
|
||||||
sudo -u bitcoin /home/admin/config.scripts/blitz.git-verify.sh \
|
sudo -u bitcoin /home/admin/config.scripts/blitz.git-verify.sh \
|
||||||
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
|
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" "${CLRESTVERSION}" || exit 1
|
||||||
|
|
||||||
sudo -u bitcoin npm install
|
sudo -u bitcoin npm install
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user