void-packages/srcpkgs/mclinker/update

4 lines
135 B
Plaintext

site="https://api.github.com/repos/$pkgname/$pkgname/branches"
version="$_version"
pattern='"name":\s*"release_\K[^\d]*([\d\.]+)(?=")'