Download OVOW/scripts/release/make_source_archive.sh from AIGeeksGroup/PhysicalWM: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/OVOW/scripts/release/make_source_archive.sh
- Command line
-
hf download hf://datasets/AIGeeksGroup/PhysicalWM/OVOW/scripts/release/make_source_archive.sh
-
curl -L -o make_source_archive.sh https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/OVOW/scripts/release/make_source_archive.sh
508 Bytes
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" | |
| OUT="${1:-$ROOT/dist/OVOW-source.tar.gz}" | |
| [[ "$OUT" = /* ]] || OUT="$ROOT/$OUT" | |
| cd "$ROOT" | |
| [[ -z "$(git status --porcelain)" ]] || { | |
| echo "[ERROR] refuse to package a dirty working tree" >&2 | |
| exit 1 | |
| } | |
| bash scripts/release/check_release.sh | |
| mkdir -p "$(dirname "$OUT")" | |
| git archive --format=tar.gz --prefix=OVOW/ -o "$OUT" HEAD | |
| bash scripts/release/check_archive.sh "$OUT" | |
| echo "Source archive ready: $OUT" | |