Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e1304
)
Keep the production configuration when upgrading
author
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Sun, 19 Apr 2020 08:48:21 +0000
(10:48 +0200)
committer
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Sun, 19 Apr 2020 08:48:21 +0000
(10:48 +0200)
bin/upgrade-prod.sh
patch
|
blob
|
blame
|
history
diff --git
a/bin/upgrade-prod.sh
b/bin/upgrade-prod.sh
index c4f340968eeaee40b18b9e8aebb518b8ec5f0b47..79ee061e64f432eeed967d9ded8ee04307e4b5c9 100755
(executable)
--- 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"