fix: add homepage version during build step (#1107)

* Set homepage version during build in ct script

* Change install script

* Split commands to multiple lines for ct script as well

* Make sure shellcheck is happy
This commit is contained in:
Sébastiaan
2024-12-30 17:41:06 +01:00
committed by GitHub
parent 96f30bf51f
commit df3919b904
2 changed files with 3 additions and 3 deletions

View File

@@ -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}"