void-packages/srcpkgs/discord/update

4 lines
176 B
Plaintext

# sample response: {"name": "0.0.11", "pub_date": "2020-08-06T16:59:21"}
site="https://discordapp.com/api/updates/stable?platform=linux"
pattern="\"name\":\s*\"\K[\d.]+(?=\")"