- Don't download sentry-cli
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=11
This commit is contained in:
parent
a474747343
commit
f3c83ce23f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 20 09:15:27 UTC 2022 - Dominik Heidler <dheidler@suse.de>
|
||||||
|
|
||||||
|
- Don't download sentry-cli
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 7 12:25:19 UTC 2022 - Dominik Heidler <dheidler@suse.de>
|
Thu Jul 7 12:25:19 UTC 2022 - Dominik Heidler <dheidler@suse.de>
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:03bed4d432d3f7bae8650edb60e7235a43cf77564f33d2f03ea82e7330e3165a
|
oid sha256:d595b57906c76cce613b7589133e557ae0034ed873874c1556f17bb0117c382a
|
||||||
size 116057100
|
size 88928979
|
||||||
|
@ -32,14 +32,17 @@ tar xvf matrix-analytics-events-0.0.1.tgz --strip-components=1 -C package/
|
|||||||
tar czf matrix-analytics-events-0.0.1.tgz package/
|
tar czf matrix-analytics-events-0.0.1.tgz package/
|
||||||
rm -r package
|
rm -r package
|
||||||
|
|
||||||
# fill sentry-cli cache with binaries for all architecutres
|
# fill sentry-cli cache with mock binaries for all architecutres
|
||||||
cd sentry-cli
|
cd sentry-cli
|
||||||
sentry_cli_version=$(ls ../@sentry-cli-*.tgz | sed -e 's/.*cli-//' -e 's/.tgz//')
|
sentry_cli_version=$(ls ../@sentry-cli-*.tgz | sed -e 's/.*cli-//' -e 's/.tgz//')
|
||||||
for arch in i686 x86_64 aarch64 armv7 ; do
|
for arch in i686 x86_64 aarch64 armv7 ; do
|
||||||
url="https://downloads.sentry-cdn.com/sentry-cli/${sentry_cli_version}/sentry-cli-Linux-${arch}"
|
url="https://downloads.sentry-cdn.com/sentry-cli/${sentry_cli_version}/sentry-cli-Linux-${arch}"
|
||||||
filehash=$(echo -n "$url" | md5sum | cut -c1-6)
|
filehash=$(echo -n "$url" | md5sum | cut -c1-6)
|
||||||
target="${filehash}-sentry-cli-Linux-${arch/_/-}"
|
target="${filehash}-sentry-cli-Linux-${arch/_/-}"
|
||||||
wget -O "$target" "$url"
|
#wget -O "$target" "$url"
|
||||||
|
echo '#!/bin/bash' > "$target"
|
||||||
|
echo '' >> "$target"
|
||||||
|
echo "echo ${sentry_cli_version}" >> "$target"
|
||||||
chmod +x "$target"
|
chmod +x "$target"
|
||||||
done
|
done
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user