Skip to content

Commit eb8041c

Browse files
committed
fix idk
1 parent bf0d668 commit eb8041c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/build_alpine.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/sh
2+
set -eux
23
apk add build-base python3 py3-pip curl
34
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.7.8/uv-installer.sh > uv-installer.sh
45
# Added sanity check file has not been tampered with
5-
if sha256sum -c ./codecov-cli/scripts/uv-installer-0.7.8.sha256sum; then
6-
sh uv-installer.sh
6+
if sha256sum -c ./scripts/uv-installer-0.7.8.sha256sum; then
7+
sh uv-installer.sh; else
8+
echo "uv-installer failed checksum" && exit 1
79
fi
810
cd prevent-cli
911
/root/.local/bin/uv python pin 3.9 # we need to build with python 3.9 to support systems with libpython >= 3.9

scripts/build_linux.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
set -eux
23
apt update
34
DEBIAN_FRONTEND=noninteractive apt install -y tzdata
45
apt install -y python3.9 python3.9-dev python3-pip

0 commit comments

Comments
 (0)