dev: also update mach-examples zig version

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-22 09:10:41 -07:00
parent 934590e48a
commit db4743b2ed

View file

@ -24,6 +24,10 @@ if [ -n "${ZIG_VERSION:-}" ]; then
sources=$(find . | grep './.github/workflows' | grep -v 'third_party/' | grep -v 'DirectXShaderCompiler' | grep '\.yml') 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 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 else
echo "must specify e.g. ZIG_VERSION=0.10.0-dev.2017+a0a2ce92c" echo "must specify e.g. ZIG_VERSION=0.10.0-dev.2017+a0a2ce92c"
exit 0 exit 0