mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 04:52:32 +02:00
cl.update to v0.10.2 and no release candidates
lnd.update: do not offer release candidates
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
## What's new in Version 1.7.2 of RaspiBlitz?
|
## What's new in Version 1.7.2 of RaspiBlitz?
|
||||||
|
|
||||||
- New: Verify git commits and tags everywhere possible [issue](https://github.com/rootzoll/raspiblitz/issues/2686)
|
- New: Verify git commits and tags everywhere possible [issue](https://github.com/rootzoll/raspiblitz/issues/2686)
|
||||||
|
- Update: C-lightning v0.10.2 [details](https://github.com/ElementsProject/lightning/releases/tag/v0.10.2)
|
||||||
- Update: BTCPayServer v1.3.3 with UPDATE option [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.3.3)
|
- Update: BTCPayServer v1.3.3 with UPDATE option [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.3.3)
|
||||||
- Update: Electrum Server in Rust (electrs) v0.9.2 [details](https://github.com/romanz/electrs/blob/v0.9.2/RELEASE-NOTES.md)
|
- Update: Electrum Server in Rust (electrs) v0.9.2 [details](https://github.com/romanz/electrs/blob/v0.9.2/RELEASE-NOTES.md)
|
||||||
- Update: JoinMarket v0.9.3 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.2)
|
- Update: JoinMarket v0.9.3 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.2)
|
||||||
|
@@ -20,7 +20,7 @@ mode="$1"
|
|||||||
|
|
||||||
# RECOMMENDED UPDATE BY RASPIBLITZ TEAM
|
# RECOMMENDED UPDATE BY RASPIBLITZ TEAM
|
||||||
# comment will be shown as "BEWARE Info" when option is choosen (can be multiple lines)
|
# comment will be shown as "BEWARE Info" when option is choosen (can be multiple lines)
|
||||||
clUpdateVersion="0.10.1" # example: v0.10.1 .. keep empty if no newer version as sd card build is available
|
clUpdateVersion="0.10.2" # example: 0.10.1 .. keep empty if no newer version as sd card build is available
|
||||||
clUpdateComment="Please keep in mind that downgrading afterwards is not tested. Also not all additional apps are fully tested with the this update - but it looked good on first tests."
|
clUpdateComment="Please keep in mind that downgrading afterwards is not tested. Also not all additional apps are fully tested with the this update - but it looked good on first tests."
|
||||||
|
|
||||||
# GATHER DATA
|
# GATHER DATA
|
||||||
@@ -34,9 +34,9 @@ clInstalledVersionMinor=$(echo "${clInstalledVersion}" | cut -d "-" -f1 | cut -d
|
|||||||
# test if the installed version already the verified/recommended update version
|
# test if the installed version already the verified/recommended update version
|
||||||
clUpdateInstalled=$(echo "${clInstalledVersion}" | grep -c "${clUpdateVersion}")
|
clUpdateInstalled=$(echo "${clInstalledVersion}" | grep -c "${clUpdateVersion}")
|
||||||
|
|
||||||
# get latest release from C-lightning GitHub releases
|
# get latest release from C-lightning GitHub releases without release candidates
|
||||||
gitHubLatestReleaseJSON="$(curl -s https://api.github.com/repos/ElementsProject/lightning/releases | jq '.[0]')"
|
clLatestVersion=$(curl -s https://api.github.com/repos/ElementsProject/lightning/releases | jq -r '.[].tag_name' | grep -v "rc" | head -n1)
|
||||||
clLatestVersion=$(echo "${gitHubLatestReleaseJSON}" | jq -r '.tag_name')
|
# example: v0.10.2
|
||||||
|
|
||||||
# INFO
|
# INFO
|
||||||
if [ "${mode}" = "info" ]; then
|
if [ "${mode}" = "info" ]; then
|
||||||
|
@@ -27,11 +27,6 @@ PGPauthor="roasbeef"
|
|||||||
lndUpdatePGPpkeys="https://keybase.io/roasbeef/pgp_keys.asc"
|
lndUpdatePGPpkeys="https://keybase.io/roasbeef/pgp_keys.asc"
|
||||||
lndUpdatePGPcheck="4AB7F8DA6FAEBB3B70B1F903BC13F65E2DC84465"
|
lndUpdatePGPcheck="4AB7F8DA6FAEBB3B70B1F903BC13F65E2DC84465"
|
||||||
|
|
||||||
#joostjager
|
|
||||||
# PGPauthor="joostjager"
|
|
||||||
# lndUpdatePGPpkeys="https://keybase.io/joostjager/pgp_keys.asc"
|
|
||||||
# lndUpdatePGPcheck="D146D0F68939436268FA9A130E26BB61B76C4D3A"
|
|
||||||
|
|
||||||
# bitconner
|
# bitconner
|
||||||
# PGPauthor="bitconner"
|
# PGPauthor="bitconner"
|
||||||
# lndUpdatePGPpkeys="https://keybase.io/bitconner/pgp_keys.asc"
|
# lndUpdatePGPpkeys="https://keybase.io/bitconner/pgp_keys.asc"
|
||||||
@@ -71,10 +66,13 @@ lndInstalledVersionMinor=$(echo "${lndInstalledVersion}" | cut -d "-" -f1 | cut
|
|||||||
# test if the installed version already the verified/recommended update version
|
# test if the installed version already the verified/recommended update version
|
||||||
lndUpdateInstalled=$(echo "${lndInstalledVersion}" | grep -c "${lndUpdateVersion}")
|
lndUpdateInstalled=$(echo "${lndInstalledVersion}" | grep -c "${lndUpdateVersion}")
|
||||||
|
|
||||||
# get latest release from LND GitHub releases
|
# get latest release from LND GitHub releases (without release candidates)
|
||||||
gitHubLatestReleaseJSON="$(curl -s https://api.github.com/repos/lightningnetwork/lnd/releases | jq '.[0]')"
|
lndLatestVersion=$(curl -s https://api.github.com/repos/lightningnetwork/lnd/releases | jq -r '.[].tag_name' | grep -v "rc" | head -n1)
|
||||||
lndLatestVersion=$(echo "${gitHubLatestReleaseJSON}" | jq -r '.tag_name')
|
# example: v0.13.3-beta
|
||||||
lndLatestDownload=$(echo "${gitHubLatestReleaseJSON}" | grep "browser_download_url" | grep "linux-${cpuArchitecture}" | cut -d '"' -f4)
|
binaryName="lnd-linux-${cpuArchitecture}-${lndLatestVersion}.tar.gz"
|
||||||
|
# example: lnd-linux-arm64-v0.13.3-beta.tar.gz
|
||||||
|
lndLatestDownload="https://github.com/lightningnetwork/lnd/releases/download/${lndLatestVersion}/${binaryName}"
|
||||||
|
# example: https://github.com/lightningnetwork/lnd/releases/download/v0.13.3-beta/lnd-linux-arm64-v0.13.3-beta.tar.gz
|
||||||
|
|
||||||
# INFO
|
# INFO
|
||||||
if [ "${mode}" = "info" ]; then
|
if [ "${mode}" = "info" ]; then
|
||||||
@@ -122,7 +120,7 @@ if [ "${mode}" = "verified" ]; then
|
|||||||
echo
|
echo
|
||||||
echo "# clean & change into download directory"
|
echo "# clean & change into download directory"
|
||||||
sudo rm -r ${downloadDir}/*
|
sudo rm -r ${downloadDir}/*
|
||||||
cd "${downloadDir}"
|
cd "${downloadDir}" || exit 1
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "# extract the SHA256 hash from the manifest file for the corresponding platform"
|
echo "# extract the SHA256 hash from the manifest file for the corresponding platform"
|
||||||
@@ -203,7 +201,7 @@ if [ "${mode}" = "reckless" ]; then
|
|||||||
|
|
||||||
# clean & change into download directory
|
# clean & change into download directory
|
||||||
sudo rm -r ${downloadDir}/*
|
sudo rm -r ${downloadDir}/*
|
||||||
cd "${downloadDir}"
|
cd "${downloadDir}" || exit 1
|
||||||
|
|
||||||
# download binary
|
# download binary
|
||||||
echo "# downloading binary"
|
echo "# downloading binary"
|
||||||
|
Reference in New Issue
Block a user