From b59257a228a68881e47c8bfbf85cc4910d7aa129 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 23 Jun 2025 10:51:53 +0200 Subject: [PATCH] Update booklore-install.sh --- install/booklore-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/booklore-install.sh b/install/booklore-install.sh index ca63d32d..0b1c1a67 100644 --- a/install/booklore-install.sh +++ b/install/booklore-install.sh @@ -29,7 +29,7 @@ msg_ok "Built Frontend" msg_info "Building Backend" cd /opt/booklore/booklore-api -APP_VERSION="0.0.1-Test" +APP_VERSION=$(curl -fsSL https://api.github.com/repos/adityachandelgit/BookLore/releases/latest | yq '.tag_name' | sed 's/^v//') yq eval ".app.version = \"${APP_VERSION}\"" -i src/main/resources/application.yaml $STD ./gradlew clean build --no-daemon msg_ok "Built Backend"