Sha256: a326e886dd46544b33538d4b652ef76e75a6a3ee534778387e6f6c46ceae086c

Contents?: true

Size: 287 Bytes

Versions: 12

Compression:

Stored size: 287 Bytes

Contents

#!/bin/bash

msg=$(cat $1)

OLD_GIT_DIR=$GIT_DIR

if [[ "${msg}" != *"[ci skip]"* ]]; then
  if [ "$(penchant gemfile-env)" != "remote" ]; then
    unset GIT_DIR
    penchant gemfile remote
    GIT_DIR=$OLD_GIT_DIR
  fi

  bundle exec rake
  R=$?
  if [ $R -ne 0 ]; then exit $R; fi
fi

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
penchant-0.2.12 template/script/hooks/commit-msg
penchant-0.2.11 template/script/hooks/commit-msg
penchant-0.2.10 template/script/hooks/commit-msg
penchant-0.2.9 template/script/hooks/commit-msg
penchant-0.2.8.1 template/script/hooks/commit-msg
penchant-0.2.8 template/script/hooks/commit-msg
penchant-0.2.6 template/script/hooks/commit-msg
penchant-0.2.5 template/script/hooks/commit-msg
penchant-0.2.4 template/script/hooks/commit-msg
penchant-0.2.3 template/script/hooks/commit-msg
penchant-0.2.2 template/script/hooks/commit-msg
penchant-0.2.1 template/script/hooks/commit-msg