Check that version is not empty

This commit is contained in:
Fabrice Reix 2024-04-23 09:40:23 +02:00 committed by hurl-bot
parent e770653684
commit 2de05983a3
No known key found for this signature in database
GPG Key ID: 1283A2B4A0DCAF8D

View File

@ -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))