mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
Use fixed abx-plugins tag in CI
This commit is contained in:
parent
7bee5417e7
commit
ec728caeab
7
.github/scripts/clone_abx_repo.sh
vendored
7
.github/scripts/clone_abx_repo.sh
vendored
@ -4,6 +4,11 @@ set -Eeuo pipefail
|
||||
repo_name="$1"
|
||||
target_dir="${2:-$repo_name}"
|
||||
|
||||
case "$repo_name" in
|
||||
abx-plugins)
|
||||
version="1.11.232"
|
||||
;;
|
||||
*)
|
||||
version="$(
|
||||
python3 - "$repo_name" <<'PY'
|
||||
import re
|
||||
@ -22,6 +27,8 @@ if not match:
|
||||
print(match.group(1))
|
||||
PY
|
||||
)"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Cloning ArchiveBox/${repo_name}@v${version} into ${target_dir}"
|
||||
git clone --depth=1 --branch "v${version}" "https://github.com/ArchiveBox/${repo_name}.git" "$target_dir"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user