racket: fix update check

This commit is contained in:
John 2018-12-04 18:52:30 +01:00 committed by maxice8
parent c95cf16858
commit 7ae9faeaf1
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,2 +1,2 @@
site="https://api.github.com/repos/$pkgname/$pkgname/tags"
pattern='"name":\s*"v\K[^\d]*([\d\.]+)(?=")'
site="https://github.com/$pkgname/$pkgname/tags"
pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'