Skip to content

Commit 8c21b2c

Browse files
committed
🔄 synced local '.github/workflows/update-releases-properties.yml' with remote '.releases/update-releases-properties.yml'
1 parent 6011b01 commit 8c21b2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎.github/workflows/update-releases-properties.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ jobs:
106106
# Extract assets that end with .7z only
107107
assets = []
108108
109-
# Use module name directly as the filename prefix
110-
filename_prefix = module_name
109+
# Use bearsampp-module format as the filename prefix (e.g., "bearsampp-postgresql")
110+
filename_prefix = f"bearsampp-{module_name}"
111111
112112
print(f"Looking for .7z files with prefix: {filename_prefix}")
113113
print(f"Available assets:")
@@ -126,7 +126,7 @@ jobs:
126126
# Supports: 18.1, 17.2.3, 3.2.1.0, 17.0-RC1, 2.4.62
127127
# The lookahead ensures we stop before a date pattern or .7z extension
128128
version_match = re.search(
129-
rf'{filename_prefix}-(\d+\.\d+(?:\.\d+)?(?:\.\d+)?(?:-(?:RC|beta|alpha|dev)\d*)?)(?=-\d{{4}}\.\d{{1,2}}\.\d{{1,2}}|\.\d+z|$)',
129+
rf'{filename_prefix}-(\d+\.\d+(?:\.\d+)?(?:\.\d+)?(?:-(?:RC|beta|alpha|dev)\d*)?)(?=-\d{{4}}\.\d{{1,2}}\.\d{{1,2}}|\.7z|$)',
130130
filename,
131131
re.IGNORECASE
132132
)
@@ -184,7 +184,7 @@ jobs:
184184
# URL format: .../bearsampp-apache-2.4.66-2025.12.8.7z (for apache)
185185
# URL format: .../bearsampp-postgresql-18.1-2025.12.8.7z (for other modules)
186186
url_version_match = re.search(
187-
rf'{filename_prefix}-(\d+\.\d+(?:\.\d+)?(?:\.\d+)?(?:-(?:RC|beta|alpha|dev)\d*)?)(?=-\d{{4}}\.\d{{1,2}}\.\d{{1,2}}|\.\d+z|/|$)',
187+
rf'{filename_prefix}-(\d+\.\d+(?:\.\d+)?(?:\.\d+)?(?:-(?:RC|beta|alpha|dev)\d*)?)(?=-\d{{4}}\.\d{{1,2}}\.\d{{1,2}}|\.7z|/|$)',
188188
url,
189189
re.IGNORECASE
190190
)

0 commit comments

Comments
 (0)