From f776563d3e59dd8c93ae2e7d81648dbd04b24d8d Mon Sep 17 00:00:00 2001 From: Don Williams Date: Wed, 8 Oct 2025 19:33:25 -0400 Subject: [PATCH] Setting tags to properly install hyprlang/utils On branch hl-051 Your branch is up to date with 'origin/hl-051'. Changes to be committed: modified: hypr-tags.env modified: install.sh --- hypr-tags.env | 4 ++-- install.sh | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/hypr-tags.env b/hypr-tags.env index 6757bbe..5383c1e 100644 --- a/hypr-tags.env +++ b/hypr-tags.env @@ -4,8 +4,8 @@ HYPRLAND_TAG=v0.51.1 AQUAMARINE_TAG=v0.9.3 -HYPRUTILS_TAG=v0.8.2 -HYPRLANG_TAG=v0.6.4 +HYPRUTILS_TAG=auto +HYPRLANG_TAG=auto HYPRGRAPHICS_TAG=v0.1.5 HYPRWAYLAND_SCANNER_TAG=v0.4.5 HYPRLAND_PROTOCOLS_TAG=v0.6.4 diff --git a/install.sh b/install.sh index 22d5bfb..63a37ef 100755 --- a/install.sh +++ b/install.sh @@ -171,6 +171,17 @@ execute_script() { if [ -f "./hypr-tags.env" ]; then # shellcheck disable=SC1091 source "./hypr-tags.env" + # If core tags are set to auto/latest, refresh to resolve concrete versions + if [ "${HYPRUTILS_TAG:-}" = "auto" ] || [ "${HYPRUTILS_TAG:-}" = "latest" ] || [ -z "${HYPRUTILS_TAG:-}" ] || \ + [ "${HYPRLANG_TAG:-}" = "auto" ] || [ "${HYPRLANG_TAG:-}" = "latest" ] || [ -z "${HYPRLANG_TAG:-}" ]; then + if [ -f ./refresh-hypr-tags.sh ]; then + chmod +x ./refresh-hypr-tags.sh || true + ./refresh-hypr-tags.sh + # reload after refresh + # shellcheck disable=SC1091 + source "./hypr-tags.env" + fi + fi export HYPRLAND_TAG AQUAMARINE_TAG HYPRUTILS_TAG HYPRLANG_TAG HYPRGRAPHICS_TAG HYPRWAYLAND_SCANNER_TAG HYPRLAND_PROTOCOLS_TAG HYPRLAND_QT_SUPPORT_TAG HYPRLAND_QTUTILS_TAG WAYLAND_PROTOCOLS_TAG fi