From 9d6a551455eb62e718cc3b4cdd7e60c566f0e411 Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Sat, 4 Jul 2026 22:39:24 +0200 Subject: [PATCH] update build.sh to use latest tag --- build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sh b/build.sh index fb165de2..e0d0e2f0 100644 --- a/build.sh +++ b/build.sh @@ -51,6 +51,14 @@ if [ ! -d "$ATMOSPHERE_DIR" ]; then echo echo "*** Cloning atmosphere ***" git clone "$ATMOSPHERE_URL" "$ATMOSPHERE_DIR" + + cd "$ATMOSPHERE_DIR" + + git fetch --tags --quiet + LATEST_TAG=$(git tag --sort=-version:refname | head -n1) + git checkout -q -b build "$LATEST_TAG" + + cd "$ROOT_DIR" fi DEST="build/atmosphere/stratosphere/loader/"