mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 23:38:06 +02:00
Remove stale comments
This commit is contained in:
parent
e99fd438c4
commit
42167c1265
1 changed files with 0 additions and 23 deletions
23
bin/upgrade
23
bin/upgrade
|
@ -2,29 +2,6 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
# Plan:
|
||||
# [Preflight]
|
||||
# - check current branch
|
||||
# - warn if not on master
|
||||
# - check current commit
|
||||
# - save it somewhere?
|
||||
# - check git status
|
||||
# - any dirty changes?
|
||||
#
|
||||
# [Get new commits]
|
||||
# - check latest commit from remote
|
||||
# - prompt for upgrade
|
||||
# - fetch new commits
|
||||
#
|
||||
# [Upgrade image version]
|
||||
# - determine if the image version has changed
|
||||
# - if yes
|
||||
# - prompt for upgrade
|
||||
# - shut down services
|
||||
# - back up data
|
||||
# - update config/image
|
||||
# - start up again
|
||||
|
||||
backup_dir="/tmp/overleaf-data-backup"
|
||||
|
||||
function usage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue