Skip to content

Commit

Permalink
fix: Remove leftover ") from version-parsing regexp in package.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cpitclaudel committed Oct 3, 2022
1 parent bd7c078 commit 2a6013f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def pack(args, releases):
def check_version_cs(args):
# Checking Directory.Build.props
with open(path.join(SOURCE_DIRECTORY, "Directory.Build.props")) as fp:
match = re.search(r'\<VersionPrefix\>([0-9]+.[0-9]+.[0-9]+).([0-9]+)"\)', fp.read())
match = re.search(r'\<VersionPrefix\>([0-9]+.[0-9]+.[0-9]+).([0-9]+)', fp.read())
if match:
(v1, v2) = match.groups()
else:
Expand Down

0 comments on commit 2a6013f

Please sign in to comment.