dev: also update mach-examples zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
934590e48a
commit
db4743b2ed
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue