GitHub+scripts: use bitcoind v27.0

This commit is contained in:
Oliver Gugger 2024-03-21 10:12:16 +01:00
parent 2ccf58e2af
commit 817ddb807b
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ defaults:
shell: bash
env:
BITCOIN_VERSION: "26"
BITCOIN_VERSION: "27"
# If you change this value, please change it in the following files as well:
# /.travis.yml

View File

@ -10,7 +10,7 @@ if [ -z "$BITCOIND_VERSION" ]; then
exit 1
fi
docker pull lightninglabs/bitcoin-core:$BITCOIND_VERSION
CONTAINER_ID=$(docker create lightninglabs/bitcoin-core:$BITCOIND_VERSION)
sudo docker cp $CONTAINER_ID:/opt/bitcoin-$BITCOIND_VERSION.0/bin/bitcoind /usr/local/bin/bitcoind
docker pull lightninglabs/bitcoin-core:${BITCOIND_VERSION}
CONTAINER_ID=$(docker create lightninglabs/bitcoin-core:${BITCOIND_VERSION})
sudo docker cp $CONTAINER_ID:/opt/bitcoin-${BITCOIND_VERSION}.0/bin/bitcoind /usr/local/bin/bitcoind
docker rm $CONTAINER_ID