pivotal-cli 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/pivotal +1 -1
- data/lib/pivotal_cli/version.rb +1 -1
- metadata +1 -1
data/bin/pivotal
CHANGED
@@ -173,7 +173,7 @@ command :commit do |c|
|
|
173
173
|
ensure_setup_complete
|
174
174
|
|
175
175
|
git = Git.open(Dir.pwd)
|
176
|
-
branch = git.branches.local
|
176
|
+
branch = git.branches.local.find {|branch| branch.current }.to_s
|
177
177
|
|
178
178
|
matches = branch.match(/.+-pv-(?<story_id>\d+)/)
|
179
179
|
if matches && matches['story_id']
|
data/lib/pivotal_cli/version.rb
CHANGED