void-packages/srcpkgs/docker/update

3 lines
104 B
Plaintext

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