site="https://api.github.com/repos/steveicarus/$pkgname/tags"
pattern='"name":\s*"v\K[\d_]+(?=")'
version=${version//./_}