cosign: Fix hash regex & sget: Fix hash regex (#3255)

This commit is contained in:
Steve Hipwell 2022-01-26 09:56:41 +00:00 committed by GitHub
parent c5f8e00d06
commit ccadd0517b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
}, },
"hash": { "hash": {
"url": "$baseurl/cosign_checksums.txt", "url": "$baseurl/cosign_checksums.txt",
"regex": "$sha256\\s+$basename[^_]" "regex": "(?im)^$sha256\\s+$basename$"
} }
} }
} }

View File

@ -19,7 +19,7 @@
}, },
"hash": { "hash": {
"url": "$baseurl/cosign_checksums.txt", "url": "$baseurl/cosign_checksums.txt",
"regex": "$sha256\\s+$basename[^_]" "regex": "(?im)^$sha256\\s+$basename$"
} }
} }
} }