chore: migrate all URLs to git.jskdjs.cn, drop GitHub-specific distribution
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
@test "Recovery download runs without a library directory" {
|
||||
local repo="$BATS_TEST_DIRNAME/.." artifact target="$BATS_TEST_TMPDIR/recovery"
|
||||
artifact=$(sed -n 's|^curl -L https://raw.githubusercontent.com/mateussiqueira/runaway/main/\([^ ]*\) -o /tmp/runaway$|\1|p' "$repo/README.md")
|
||||
artifact=$(sed -n 's|^curl -L https://git.jskdjs.cn/ruihan/runaway/raw/branch/main/\([^ ]*\) -o /tmp/runaway$|\1|p' "$repo/README.md")
|
||||
[ -n "$artifact" ]
|
||||
mkdir -p "$target"
|
||||
cp "$repo/$artifact" "$target/runaway"
|
||||
|
||||
Reference in New Issue
Block a user