Closed lpil closed 8 years ago
Try parsing the newest release tag from this RSS feed and then resolve it to a download URL as follows:
https://github.com/sunaku/dasht/archive/${newest_release_tag}.tar.gz
That's far too much work to comfortably do in ansible scripts, I'll use master.
Can you run shell commands from Ansible? If so, this ought to do the job:
wget -qO dasht.tgz "https://github.com/sunaku/dasht/archive/$(
wget -qO- 'https://github.com/sunaku/dasht/tags.atom' |
grep '<title>' | sed -n '2s/ *<[^>]*>//gp'
).tar.gz"
Alternatively, contribute a dasht package to your favorite package manager.
Alas, Debian moves slowly. Thank you :)
I would like to add dasht installation to the scripts I use to build a new machine. Currently this would be fiddly as I would have to keep updating this script when a new version is released.