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