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:
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

@@ -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/_/-}"