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:
828d5c8
)
Fix git status check when upgrading the production
author
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Wed, 15 Apr 2020 20:27:08 +0000
(22:27 +0200)
committer
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Wed, 15 Apr 2020 20:27:08 +0000
(22:27 +0200)
bin/upgrade-prod.sh
patch
|
blob
|
blame
|
history
diff --git
a/bin/upgrade-prod.sh
b/bin/upgrade-prod.sh
index c52de1bfa1fbfffcfaeb4bc9a0bcfb1df01fb8c4..c4f340968eeaee40b18b9e8aebb518b8ec5f0b47 100755
(executable)
--- a/
bin/upgrade-prod.sh
+++ b/
bin/upgrade-prod.sh
@@
-35,7
+35,7
@@
if [ -f "$WORKING_DIRECTORY/games.backup.json" ]; then
error "Your working copy has a 'games.backup.json' file. I give up."
fi
-if [ -z "$(git status --porcelain)" ]; then
+if
!
[ -z "$(git status --porcelain)" ]; then
error "Your git repository is not clean. I am not doing anything."
fi