Add sentry-cli mock for ppc64

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=26
This commit is contained in:
Dominik Heidler 2022-11-02 15:55:22 +00:00 committed by Git OBS Bridge
parent 875b06ad17
commit 1909bb6f4a
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d805fa38860881785540fb0d4535e316995328039ed74ea7f57c194417711dc4
size 99183515
oid sha256:eb14166fced1a71c5c42fa3a8efb9cfabeae96eabfa0cdad597566958b79eeb1
size 99184785

View File

@ -37,7 +37,7 @@ rm -r package
# fill sentry-cli cache with mock binaries for all architecutres
cd sentry-cli
sentry_cli_version=$(ls ../@sentry-cli-*.tgz | sed -e 's/.*cli-//' -e 's/.tgz//')
for arch in i686 x86_64 aarch64 armv7 riscv64; do
for arch in i686 x86_64 aarch64 armv7 riscv64 ppc64 ppc64le; do
url="https://downloads.sentry-cdn.com/sentry-cli/${sentry_cli_version}/sentry-cli-Linux-${arch}"
filehash=$(echo -n "$url" | md5sum | cut -c1-6)
target="${filehash}-sentry-cli-Linux-${arch/_/-}"