diff --git a/dev/update-zig.sh b/dev/update-zig.sh index 91b67334..ba68299c 100755 --- a/dev/update-zig.sh +++ b/dev/update-zig.sh @@ -24,6 +24,10 @@ if [ -n "${ZIG_VERSION:-}" ]; then sources=$(find . | grep './.github/workflows' | grep -v 'third_party/' | grep -v 'DirectXShaderCompiler' | grep '\.yml') echo "$sources" | while read line ; do update_zig "$version" "$line" ; done + + # If running inside mach-examples/libs/mach, also update the mach-examples repo. + sources=$(find ../../.github/ | grep '/workflows/' | grep '\.yml') + echo "$sources" | while read line ; do update_zig "$version" "$line" ; done else echo "must specify e.g. ZIG_VERSION=0.10.0-dev.2017+a0a2ce92c" exit 0