mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-02 06:55:08 +03:00
Check that version is not empty
This commit is contained in:
parent
e770653684
commit
2de05983a3
@ -239,6 +239,8 @@ def main():
|
||||
parser.add_argument("version", help="Hurl release version ex 4.2.0")
|
||||
parser.add_argument("--token", help="GitHub authentication token")
|
||||
args = parser.parse_args()
|
||||
if args.version == "":
|
||||
raise Exception("version can not be empty")
|
||||
print(release_note(milestone=args.version, token=args.token))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user