Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

Commit

Permalink
[#3] use new variable as label to create branches
Browse files Browse the repository at this point in the history
  • Loading branch information
alemata committed May 28, 2015
1 parent 1fc2fe0 commit 50099bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/assisted_workflow/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def setup
c << "$ aw config pivotal.fullname='Your Pivotal User Name' --global"
c << "$ aw config pivotal.token=MYPIVOTALTOKEN --global"
c << "$ aw config github.token=MYGITHUBOAUTHTOKEN --global"
c << "$ aw config branch_username='Username for branch names' --global"
c << "$ aw config pivotal.project_id=00001"
end
end
Expand All @@ -45,7 +46,7 @@ def start(story_id=nil)
else
tracker.start_story(story, :estimate => options[:estimate])
out.print_story story
git.create_story_branch(story, github.username)
git.create_story_branch(story, configuration[:branch_username])
out.next_command "after commiting your changes, submit a pull request using:", "$ aw submit"
end
end
Expand Down
3 changes: 2 additions & 1 deletion lib/assisted_workflow/templates/awconfig.global.tt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ pivotal:
fullname:
token:
github:
token:
token:
branch_username:

0 comments on commit 50099bc

Please sign in to comment.