diff --git a/scripts/upgrade b/scripts/upgrade index 09c9eec..ca4db2b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -96,7 +96,7 @@ then #git reset --hard --quiet git pull latestVersion=$(git describe --tags --abbrev=0) - git checkout -f $latestVersion #-f + git checkout -f $latestVersion for i in `git rev-list --reverse --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done ynh_exec_warn_less shards update && shards install ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release