void-packages/srcpkgs/electron7/update

3 lines
101 B
Plaintext

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