We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6f405 commit b073676Copy full SHA for b073676
lib/tasks/aws_deploy.rake
@@ -34,7 +34,7 @@ namespace :aws_deploy do
34
35
# -----------
36
def get_current_branch
37
- `git branch`.match(/\*\s([\w\/]+)/)[1]
+ `git branch`.match(/\*\s([\w\/-]+)/)[1]
38
end
39
def aws_check_current_branch(branch_to_deploy)
40
if get_current_branch != branch_to_deploy
0 commit comments