Merge pull request #75 from tteck/main

[pull] main from tteck:main
This commit is contained in:
pull[bot]
2024-09-27 07:37:39 +00:00
committed by GitHub
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
msg_info "Updating ${APP} to ${RELEASE}"
cd /opt/tianji
git checkout -q v${RELEASE}
git checkout -f -q v${RELEASE}
cd src/server
pnpm db:migrate:apply >/dev/null 2>&1
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP} to ${RELEASE}"