From 9214e8d2f88805e231b4f871f95b2dfaeda5159e Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 11 Apr 2025 23:49:26 +0200 Subject: [PATCH] update .gitignore automatically --- autodeploy/setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autodeploy/setup.sh b/autodeploy/setup.sh index be377aa..f4c678d 100755 --- a/autodeploy/setup.sh +++ b/autodeploy/setup.sh @@ -5,10 +5,18 @@ set -euo pipefail URL="https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-unknown-linux-musl.tar.gz" +ARCHIVE=$(basename "$URL") +BINARY=$(echo "$ARCHIVE" | cut -d. -f1 | cut -d- -f1) + SCRIPT_PATH=$(dirname "$0") + "$SCRIPT_PATH/download.sh" "$URL" +"$SCRIPT_PATH/gitignore.sh" add "$ARCHIVE" || true +"$SCRIPT_PATH/gitignore.sh" add "$BINARY" || true + + export CONDA_OVERRIDE_GLIBC=2.28 chmod +x ./pixi