void-packages/srcpkgs/electron12/update

3 lines
101 B
Plaintext

site=https://www.electronjs.org/releases/stable?version=${version%%.*}
pattern='tag/v\K[\d\.]+(?=")'