Changed version of BTCPayServer to 1.12.0 (#4334)

* Changed version of BTCPayServer to 1.12.0
Updated dependency NBXplorer to: https://github.com/dgarage/NBXplorer/releases/tag/v2.4.3
and .NET to 8.0.100.
Now for BTCPayServer 1.12.0 and NBXplorer 2.4.3 build with .NET 8.0.
This commit is contained in:
Kevin Ravensberg 2023-12-23 09:47:09 +01:00 committed by GitHub
parent eddec30f4a
commit 98dfd49f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,9 @@
# Based on: https://gist.github.com/normandmickey/3f10fc077d15345fb469034e3697d0d0 # Based on: https://gist.github.com/normandmickey/3f10fc077d15345fb469034e3697d0d0
# https://github.com/dgarage/NBXplorer/tags # https://github.com/dgarage/NBXplorer/tags
NBXplorerVersion="v2.3.67" NBXplorerVersion="v2.4.3"
# https://github.com/btcpayserver/btcpayserver/releases # https://github.com/btcpayserver/btcpayserver/releases
BTCPayVersion="v1.11.7" BTCPayVersion="v1.12.0"
# check who signed the release (person that published release) # check who signed the release (person that published release)
PGPsigner="nicolasdorier" PGPsigner="nicolasdorier"
@ -364,23 +364,23 @@ if [ "$1" = "install" ]; then
cd /home/btcpay || exit 1 cd /home/btcpay || exit 1
echo "# install .NET" echo "# install .NET"
# https://dotnet.microsoft.com/en-us/download/dotnet/6.0 # https://dotnet.microsoft.com/en-us/download/dotnet/8.0
sudo apt-get -y install libunwind8 gettext libssl1.0 sudo apt-get -y install libunwind8 gettext libssl1.0
cpu=$(uname -m) cpu=$(uname -m)
if [ "${cpu}" = "aarch64" ]; then if [ "${cpu}" = "aarch64" ]; then
binaryVersion="arm64" binaryVersion="arm64"
dotNetdirectLink="https://download.visualstudio.microsoft.com/download/pr/d43345e2-f0d7-4866-b56e-419071f30ebe/68debcece0276e9b25a65ec5798cf07b/dotnet-sdk-6.0.101-linux-arm64.tar.gz" dotNetdirectLink="https://download.visualstudio.microsoft.com/download/pr/43e09d57-d0f5-4c92-a75a-b16cfd1983a4/cba02bd4f7c92fb59e22a25573d5a550/dotnet-sdk-8.0.100-linux-arm64.tar.gz"
dotNetChecksum="04cd89279f412ae6b11170d1724c6ac42bb5d4fae8352020a1f28511086dd6d6af2106dd48ebe3b39d312a21ee8925115de51979687a9161819a3a29e270a954" dotNetChecksum="3296d2bc15cc433a0ca13c3da83b93a4e1ba00d4f9f626f5addc60e7e398a7acefa7d3df65273f3d0825df9786e029c89457aea1485507b98a4df2a1193cd765"
elif [ "${cpu}" = "x86_64" ]; then elif [ "${cpu}" = "x86_64" ]; then
binaryVersion="x64" binaryVersion="x64"
dotNetdirectLink="https://download.visualstudio.microsoft.com/download/pr/ede8a287-3d61-4988-a356-32ff9129079e/bdb47b6b510ed0c4f0b132f7f4ad9d5a/dotnet-sdk-6.0.101-linux-x64.tar.gz" dotNetdirectLink="https://download.visualstudio.microsoft.com/download/pr/5226a5fa-8c0b-474f-b79a-8984ad7c5beb/3113ccbf789c9fd29972835f0f334b7a/dotnet-sdk-8.0.100-linux-x64.tar.gz"
dotNetChecksum="ca21345400bcaceadad6327345f5364e858059cfcbc1759f05d7df7701fec26f1ead297b6928afa01e46db6f84e50770c673146a10b9ff71e4c7f7bc76fbf709" dotNetChecksum="13905ea20191e70baeba50b0e9bbe5f752a7c34587878ee104744f9fb453bfe439994d38969722bdae7f60ee047d75dda8636f3ab62659450e9cd4024f38b2a5"
else else
echo "# FAIL! CPU (${cpu}) not supported." echo "# FAIL! CPU (${cpu}) not supported."
echo "result='dotnet cpu not supported'" echo "result='dotnet cpu not supported'"
exit 1 exit 1
fi fi
dotNetName="dotnet-sdk-6.0.101-linux-${binaryVersion}.tar.gz" dotNetName="dotnet-sdk-8.0.100-linux-${binaryVersion}.tar.gz"
sudo rm /home/btcpay/${dotnetName} 2>/dev/null sudo rm /home/btcpay/${dotnetName} 2>/dev/null
sudo -u btcpay wget "${dotNetdirectLink}" -O "${dotNetName}" sudo -u btcpay wget "${dotNetdirectLink}" -O "${dotNetName}"
# check binary is was not manipulated (checksum test) # check binary is was not manipulated (checksum test)
@ -824,4 +824,4 @@ if [ "$1" = "update" ]; then
fi fi
echo "# FAIL - Unknown Parameter $1" echo "# FAIL - Unknown Parameter $1"
exit 1 exit 1