fix pattern regex

This commit is contained in:
Johnny Chen 2020-05-27 07:22:02 +08:00
parent 19d15e9bf4
commit 054e91a8bd
No known key found for this signature in database
GPG Key ID: A8E1AABB61708099

View File

@ -626,11 +626,12 @@ category = app
distro = Julia
listvers = 1
location = julia-releases/bin/*/*/*/julia-*
pattern = /bin/(\w+)/(\w+)/(\d+.\d+)/julia-*.(dmg|pkg|exe|tar.gz)
platform = $1/$2
# This regex does not capture release candidate (rc) versions
pattern = \/bin\/(freebsd|mac|linux|winnt)\/(x64|x86|aarch64|armv7l)\/[\w\.]+\/julia-(\d+.\d+.\d+)-\w+-(\w+).(dmg|pkg|exe|tar.gz)
platform = $1/$4
version = $3
type = $4
key_by = $1 $2
type = $5
key_by = $1 $4
category = app
[adobe source fonts]