This commit is contained in:
John Bintz 2012-04-20 14:52:57 -04:00
parent 9c3a0dfa8f
commit 9e0bfa722e
4 changed files with 7 additions and 18 deletions

View File

@ -1,3 +1,3 @@
module Penchant module Penchant
VERSION = "0.1.2" VERSION = "0.1.2.1"
end end

View File

@ -14,11 +14,3 @@ if [[ "${msg}" != *"[ci skip]"* ]]; then
if [ $R -ne 0 ]; then exit $R; fi if [ $R -ne 0 ]; then exit $R; fi
fi fi
if [ "$(penchant gemfile-env)" != "remote deployment" ]; then
unset GIT_DIR
penchant gemfile remote --deployment
GIT_DIR=$OLD_GIT_DIR
git add Gemfile*
fi
exit 0

View File

@ -6,7 +6,9 @@ OLD_GIT_DIR=$GIT_DIR
if [[ "${msg}" != *"[ci skip]"* ]]; then if [[ "${msg}" != *"[ci skip]"* ]]; then
if [ "$(penchant gemfile-env)" != "remote" ]; then if [ "$(penchant gemfile-env)" != "remote" ]; then
unset GIT_DIR
penchant gemfile remote penchant gemfile remote
GIT_DIR=$OLD_GIT_DIR
fi fi
bundle exec rake bundle exec rake
@ -14,11 +16,3 @@ if [[ "${msg}" != *"[ci skip]"* ]]; then
if [ $R -ne 0 ]; then exit $R; fi if [ $R -ne 0 ]; then exit $R; fi
fi fi
if [ "$(penchant gemfile-env)" != "remote deployment" ]; then
unset GIT_DIR
penchant gemfile remote --deployment
GIT_DIR=$OLD_GIT_DIR
git add Gemfile*
fi
exit 0

View File

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# this has been moved to commit-msg unset GIT_DIR
penchant gemfile remote --deployment
GIT_DIR=$OLD_GIT_DIR
git add Gemfile*