Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ
13175efbd8
fix
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Shellcheck / Shellcheck (push) Waiting to run
2024-12-30 23:04:03 +01:00
CanbiZ
4a8239b2ce
fix 2024-12-30 23:02:57 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -52,7 +52,9 @@ function update_script() {
cd /opt/homepage
npx update-browserslist-db@latest
pnpm install
NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build
export NEXT_PUBLIC_VERSION=v$RELEASE
export NEXT_PUBLIC_REVISION='source'
pnpm build
systemctl start homepage
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated Homepage to v${RELEASE}"

View File

@ -43,7 +43,8 @@ rm -rf homepage-${RELEASE}
cd /opt/homepage
cp /opt/homepage/src/skeleton/* /opt/homepage/config
$STD pnpm install
$STD NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build
$STD export NEXT_PUBLIC_VERSION=v$RELEASE
$STD export NEXT_PUBLIC_REVISION='source' $STD pnpm build
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Homepage v${RELEASE}"