GitLab bugfix for some APK URLs (#1790)

This commit is contained in:
Imran Remtulla
2024-08-19 20:55:37 -04:00
parent 78e20984ed
commit 37e90dabe7

View File

@ -202,7 +202,7 @@ class GitLab extends AppSource {
}
finalResult.apkUrls = finalResult.apkUrls.map((apkUrl) {
if (RegExp('^$standardUrl/-/jobs/[0-9]+/artifacts/file/[^/]+\$')
if (RegExp('^$standardUrl/-/jobs/[0-9]+/artifacts/file/[^/]+')
.hasMatch(apkUrl.value)) {
return MapEntry(
apkUrl.key, apkUrl.value.replaceFirst('/file/', '/raw/'));