Skip to content
Browse files

OK grab git branch from ENV (git branch parsing did not work on our CI)

  • Loading branch information...
1 parent 5bcfd37 commit 35e703ba1d409532fae989cdca5a1e8cee5cfd93 @solnic solnic committed Sep 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gemfile
View
2 Gemfile
@@ -8,7 +8,7 @@ DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://g
DM_VERSION = '~> 1.2.0.rc1'
DO_VERSION = '~> 0.10.6'
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
-CURRENT_BRANCH = `git branch | grep '*' | awk '{print $2}'`
+CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
gem 'addressable', '~> 2.2.6'

0 comments on commit 35e703b

Please sign in to comment.
Something went wrong with that request. Please try again.