template/script/hooks/pre-commit in penchant-0.0.3 vs template/script/hooks/pre-commit in penchant-0.0.5
- old
+ new
@@ -1,11 +1,11 @@
#!/bin/bash
OLD_GIT_DIR=$GIT_DIR
-if [ "$(penchant gemfile-env)" != "remote" ]; then
+if [ "$(penchant gemfile-env)" != "remote deployment" ]; then
unset GIT_DIR
- penchant gemfile remote
+ penchant gemfile remote --deployment
GIT_DIR=$OLD_GIT_DIR
git add Gemfile*
fi
bundle exec rake