Update base.rb
This commit is contained in:
@@ -63,6 +63,9 @@ module Release
|
|||||||
error "Version branch already exists: #{branch}" if remote_branch(branch) != ""
|
error "Version branch already exists: #{branch}" if remote_branch(branch) != ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def validate_branch_is_master (branch)
|
||||||
|
error "Branch must be master: #{branch}" if branch != "master"
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user