dev: CI: keep string terminator when updating Zig version for Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1eab0539d1
commit
1af3ae02bf
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ update_zig() {
|
|||
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-[^/ -]*-[^/ -]*-\)[^/ ]*\(\(\.zip\)[^/ ]*\)|\1'"$1"'\2|' $2
|
||||
gsed -i 's|\(C:\\zig-[^/ -]*-[^/ -]*-\)[^/ \\]*\(.*\)"|\1'"$1"'\2|' $2
|
||||
gsed -i 's|\(C:\\zig-[^/ -]*-[^/ -]*-\)[^/ \\]*\(.*"\)|\1'"$1"'\2|' $2
|
||||
}
|
||||
|
||||
if [ -n "${ZIG_VERSION:-}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue