Fix third_party_build/wasm_make_raylib.sh
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy-main (push) Successful in 50s
Build and Publish WASM version of demo / Build-And-Deploy-devel (push) Has been skipped

First clone of raylib was not checking out the git tag.
This commit is contained in:
Stephen Seo 2024-03-21 16:36:35 +09:00
parent 48f4e3b3d0
commit 2e734f4025

View file

@ -62,7 +62,9 @@ if ! [[ -d "$CLONE_DIR" ]] || ! [[ -d "$CLONE_DIR/.git" ]]; then
echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!"
exit 4
fi
elif ! (cd "$CLONE_DIR" && git fetch --all -p && git checkout "$RAYLIB_GIT_TAG"); then
fi
if ! (cd "$CLONE_DIR" && git fetch --all -p && git checkout "$RAYLIB_GIT_TAG"); then
echo "ERROR: Failed to fetch/checkout in Raylib dir!"
exit 5
fi