release: added patch
This commit is contained in:
@@ -17,7 +17,7 @@ module Feature
|
||||
feature_name = feature_words.join('-')
|
||||
feature_branch = "#{ENV['FEATURE_USER']||ENV['USER']}-#{current_branch}-#{feature_name}"
|
||||
|
||||
error "invalid base branch: #{current_branch}" unless standard_branches.include? current_branch
|
||||
error "invalid base branch: #{current_branch}" unless standard_branches.include? current_branch or current_branch =~ /\d+\.\d+\.\d+/
|
||||
error "invalid feature branch: #{feature_name}" if standard_branches.include? feature_name
|
||||
|
||||
git_pull current_branch
|
||||
|
||||
Reference in New Issue
Block a user