From 604d1563844df3b80466982f97911b7060cd0ce4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Jakse?= Date: Sun, 19 Apr 2020 10:48:21 +0200 Subject: [PATCH] Keep the production configuration when upgrading --- bin/upgrade-prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/upgrade-prod.sh b/bin/upgrade-prod.sh index c4f3409..79ee061 100755 --- a/bin/upgrade-prod.sh +++ b/bin/upgrade-prod.sh @@ -57,7 +57,7 @@ echo "Backing up production to $BACKUP_DIR ..." rsync -avp --delete "$PROD_DIR/" "$BACKUP_DIR/" echo "Sending to production..." -rsync -avp --delete --exclude 'games.backup.json' --exclude '/.git' "$WORKING_DIRECTORY/" "$PROD_DIR/" +rsync -avp --delete --exclude 'games.backup.json' --exclude 'config.js' --exclude '/.git' "$WORKING_DIRECTORY/" "$PROD_DIR/" echo echo "Resetting the directory..." git reset --hard "$new_version" -- 2.30.2