diff --git a/ct/homepage.sh b/ct/homepage.sh index a4c62f8b6..43fb247a7 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -52,7 +52,7 @@ function update_script() { cd /opt/homepage npx update-browserslist-db@latest pnpm install - pnpm build + NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build systemctl start homepage echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated Homepage to v${RELEASE}" @@ -69,4 +69,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/install/homepage-install.sh b/install/homepage-install.sh index 96b7b2ce3..234d44d0a 100644 --- a/install/homepage-install.sh +++ b/install/homepage-install.sh @@ -43,7 +43,7 @@ rm -rf homepage-${RELEASE} cd /opt/homepage cp /opt/homepage/src/skeleton/* /opt/homepage/config $STD pnpm install -$STD pnpm build +$STD NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Homepage v${RELEASE}"