lib/fulmar/domain/service/helper/vhost_helper.rb in fulmar-1.5.1 vs lib/fulmar/domain/service/helper/vhost_helper.rb in fulmar-1.5.2

- old
+ new

@@ -4,10 +4,10 @@ module Helper # Provides access helper to the database service from within a task module VhostHelper def vhost_name branch = git.current_branch - match = branch.match(/f\d+_([a-zA-Z0-9]+)/) + match = branch.match(/f\d+_([a-zA-Z0-9\_\-]+)/) if match match[1] else error "Cannot deploy branch '#{branch}'" fail 'Branch must match specification for feature branches (f1234_name)'