Skip to content

Commit

Permalink
Merge pull request #50 from rgdoliveira/sync_main
Browse files Browse the repository at this point in the history
 Sync main branch with Apache main branch
  • Loading branch information
rgdoliveira authored Aug 7, 2024
2 parents 712ed93 + 63cd8d4 commit a9a8cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/manage-kogito-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

if args.bump_to:
# validate if the provided version is valid.
# e.g. 1.10.0, 1.0.0-rc1, 999-snapshot or 999-20240101-snapshot
pattern = r'(\d+.\d+.)?(\d+$|\d+-rc\d+$|\d+(-\d{8})?-snapshot$)'
# e.g. 1.10.0, 10.0.x, 1.0.0-rc1, 999-snapshot or 999-20240101-snapshot
pattern = r'(\d+.\d+.)?(x$|\d+$|\d+-rc\d+$|\d+(-\d{8})?-snapshot$)'
regex = re.compile(pattern, re.IGNORECASE)
valid = regex.match(args.bump_to)
examples_ref = ""
Expand Down

0 comments on commit a9a8cde

Please sign in to comment.