2-start: renamed init to create, renamed versions to list, closed

This commit is contained in:
rkiel
2017-09-29 21:06:58 -04:00
parent 0655354134
commit 27f76288e7
7 changed files with 45 additions and 28 deletions

View File

@@ -31,6 +31,10 @@ module Release
git_local_list_tags(release_tag_prefix).join("\n")
end
def show_existing_branches
git_local_list_branches(release_branch_prefix).join("\n")
end
def validate_version_format (version)
error "Invalid version number format. Try using MAJOR.MINOR.PATCH." unless version =~ version_pattern
end