ActivityPub-federated video streaming platform using P2P directly in your web browser
Launch yarn before linking to new peertube version
Jocelyn Jauberte7542293d6db
diff --git a/scripts/upgrade.sh b/scripts/upgrade.shindex 59dc5ab263..9c17aecb89 100755--- a/scripts/upgrade.sh+++ b/scripts/upgrade.sh@@ -68,11 +68,13 @@ cd $PEERTUBE_PATH/versionsunzip -o "peertube-${VERSION}.zip"rm -f "peertube-${VERSION}.zip"-# Upgrade Scripts+# Launch yarn to check if we have all required dependencies+cd "$PEERTUBE_PATH/versions/peertube-${VERSION}"+NOCLIENT=1 yarn install --production --pure-lockfile++# Switch to latest code versionrm -rf $PEERTUBE_PATH/peertube-latestln -s "$PEERTUBE_PATH/versions/peertube-${VERSION}" $PEERTUBE_PATH/peertube-latest-cd $PEERTUBE_PATH/peertube-latest-NOCLIENT=1 yarn install --production --pure-lockfilecp $PEERTUBE_PATH/peertube-latest/config/default.yaml $PEERTUBE_PATH/config/default.yamlecho "Differences in configuration files..."