void-packages/srcpkgs/cjs/update

3 lines
104 B
Plaintext

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