2 lines
115 B
Text
2 lines
115 B
Text
site="https://github.com/$pkgname/$pkgname/tags"
|
|
pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'
|