void-packages/srcpkgs/electron9/update

3 lines
101 B
Plaintext

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