Rename 'vcs' release-creation mode to 'git'

This commit is contained in:
rubenwardy
2020-01-24 20:26:26 +00:00
parent 14faae3fd1
commit beb9c0e959
2 changed files with 8 additions and 8 deletions

View File

@@ -139,7 +139,7 @@ def create_release(token, package):
return error(400, option + " is required in the POST data")
if json["method"].lower() != "vcs":
return error(400, "Release-creation methods other than VCS are not supported")
if json["method"].lower() != "git":
return error(400, "Release-creation methods other than git are not supported")
return handleCreateRelease(token, package, json["title"], json["ref"])