{% set releases = load_data(url="https://github.com/wezm/rsspls/releases.atom", format="xml") %} {% set latest_release = releases.feed.entry | first %} {% set_global latest_version = latest_release.link['@href'] | split(pat="/") | last %}
Example to download and extract a binary:
curl https://releases.wezm.net/rsspls/{{ latest_version }}/rsspls-{{ latest_version }}-x86_64-unknown-linux-musl.tar.gz | tar zxf -