dev: CI: correct automated Zig version updates for Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
539b643267
commit
7fb3e071d4
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ update_zig() {
|
||||||
gsed -i 's|\(Currently tested with: \).*|\1'"$1"'|' $2
|
gsed -i 's|\(Currently tested with: \).*|\1'"$1"'|' $2
|
||||||
gsed -i 's|\(https://ziglang.org/builds/zig-[^/ -]*-[^/ -]*-\)[^/ ]*\(\(\.tar\.xz\)[^/ ]*\)|\1'"$1"'\2|' $2
|
gsed -i 's|\(https://ziglang.org/builds/zig-[^/ -]*-[^/ -]*-\)[^/ ]*\(\(\.tar\.xz\)[^/ ]*\)|\1'"$1"'\2|' $2
|
||||||
gsed -i 's|\(https://ziglang.org/builds/zig-[^/ -]*-[^/ -]*-\)[^/ ]*\(\(\.zip\)[^/ ]*\)|\1'"$1"'\2|' $2
|
gsed -i 's|\(https://ziglang.org/builds/zig-[^/ -]*-[^/ -]*-\)[^/ ]*\(\(\.zip\)[^/ ]*\)|\1'"$1"'\2|' $2
|
||||||
|
gsed -i 's|\(C:\\zig-[^/ -]*-[^/ -]*-\)[^/ \\]*\(.*\)"|\1'"$1"'\2|' $2
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -n "${ZIG_VERSION:-}" ]; then
|
if [ -n "${ZIG_VERSION:-}" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue