Write version into Homepage_version.txt file after update (#2908)
This commit is contained in:
parent
6cb9e1db0a
commit
4a1ccb5d3d
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
|
|||
pnpm install
|
||||
pnpm build
|
||||
systemctl start homepage
|
||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||
msg_ok "Updated Homepage to v${RELEASE}"
|
||||
else
|
||||
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||
|
|
Loading…
Reference in a new issue