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

View File

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