Bump HWI
This commit is contained in:
parent
e3c431a5af
commit
3a660f6b8d
@ -57,6 +57,29 @@ namespace BTCPayServer.Hwi.Deployment
|
||||
Extractor = new TarExtractor()
|
||||
}
|
||||
};
|
||||
|
||||
public static HwiVersion v2_3_1 { get; } = new HwiVersion()
|
||||
{
|
||||
Windows = new HwiDownloadInfo()
|
||||
{
|
||||
Link = "https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-windows-x86_64.zip",
|
||||
Hash = "460c8b83a9d8888ad769ffdc34dbe3ad7ecd27b22035494bdeb268d943be1791",
|
||||
Extractor = new ZipExtractor()
|
||||
},
|
||||
Linux = new HwiDownloadInfo()
|
||||
{
|
||||
Link = "https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-linux-x86_64.tar.gz",
|
||||
Hash = "9519023b3a485b68668675db8ab70be2e338be100fd2731eeddd6d34fc440580",
|
||||
Extractor = new TarExtractor()
|
||||
},
|
||||
Mac = new HwiDownloadInfo()
|
||||
{
|
||||
Link = "https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-hwi-2.3.1-mac-x86_64.tar.gz",
|
||||
Hash = "9059b8f7cf6fe42f6e37cd8015cd11cb8fb736650797b25da849c625ed61ea62",
|
||||
Extractor = new TarExtractor()
|
||||
}
|
||||
};
|
||||
|
||||
public static HwiVersion Latest => v2_1_1;
|
||||
}
|
||||
|
||||
|
||||
@ -5,9 +5,9 @@ RUN apt-get update
|
||||
RUN apt-get install -y --no-install-recommends imagemagick
|
||||
###
|
||||
|
||||
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.1.1/hwi-2.1.1-linux-amd64.tar.gz && \
|
||||
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-linux-x86_64.tar.gz && \
|
||||
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
|
||||
echo "7f4cbe4e5c2cd1ac892f9bd8ac35fb1f837b6a547b528b61aca895a212a90062 /tmp/hwi" | sha256sum -c - && \
|
||||
echo "9519023b3a485b68668675db8ab70be2e338be100fd2731eeddd6d34fc440580 /tmp/hwi" | sha256sum -c - && \
|
||||
rm /tmp/hwi.tar.gz
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
@ -7,9 +7,9 @@ RUN apt-get install -y --no-install-recommends imagemagick
|
||||
|
||||
RUN apt-get install -y --no-install-recommends git icnsutils
|
||||
|
||||
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.1.1/hwi-2.1.1-mac-amd64.tar.gz && \
|
||||
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-mac-x86_64.tar.gz && \
|
||||
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
|
||||
echo "1b1a903b4a9884aa06593356e7a958c19ccb56a5bc97e0c6075f968310640fd2 /tmp/hwi" | sha256sum -c - && \
|
||||
echo "9059b8f7cf6fe42f6e37cd8015cd11cb8fb736650797b25da849c625ed61ea62 /tmp/hwi" | sha256sum -c - && \
|
||||
rm /tmp/hwi.tar.gz
|
||||
|
||||
WORKDIR /source
|
||||
|
||||
@ -6,9 +6,9 @@ RUN apt-get install -y --no-install-recommends imagemagick
|
||||
###
|
||||
|
||||
RUN apt-get install -y --no-install-recommends nsis unzip wine xxd osslsigncode openssl
|
||||
RUN wget -qO "/tmp/hwi.zip" https://github.com/bitcoin-core/HWI/releases/download/2.1.1/hwi-2.1.1-windows-amd64.zip && \
|
||||
RUN wget -qO "/tmp/hwi.zip" https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-windows-x86_64.zip && \
|
||||
unzip "/tmp/hwi.zip" -d "/tmp" && \
|
||||
echo "3efa5bcde386ca5523a4127f3a9802a7e9ef5320c2a8910ead343386c0b7dbfc /tmp/hwi.exe" | sha256sum -c - && \
|
||||
echo "460c8b83a9d8888ad769ffdc34dbe3ad7ecd27b22035494bdeb268d943be1791 /tmp/hwi.exe" | sha256sum -c - && \
|
||||
rm "/tmp/hwi.zip" && \
|
||||
# Need to setup with rcedit because https://github.com/dotnet/sdk/issues/3943
|
||||
# I prebuild the binaries with VS 2019 on commit b807b34a644c86c0b0d89c7f073967e79202731a
|
||||
|
||||
Loading…
Reference in New Issue
Block a user