Skip to content

Commit 9d5b530

Browse files
authored
ci: fix regex in generateUpdatesXml.py (#5834)
change was made to suffix platform version with `.` instead of `-`
1 parent 5cf297c commit 9d5b530

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/generateUpdatesXml.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
buildRegex = r'.*(\d{3}).zip'
1616
# given plugin-amazonq-3.39-SNAPSHOT-1731096007-241.zip,
1717
# capture 3.39-SNAPSHOT-1731096007-241 in group 1
18-
versionRegex = r'.*?\-(\d.*-\d{3})\.zip'
18+
# or
19+
# given plugin-amazonq-3.39-SNAPSHOT-1731096007.241.zip,
20+
# capture 3.39-SNAPSHOT-1731096007.241 in group 1
21+
versionRegex = r'.*?\-(\d.*[.-]\d{3})\.zip$'
1922
for asset in data['assets']:
2023
name = asset['name']
2124
if ('plugin-amazonq' in name):

0 commit comments

Comments
 (0)