We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write a script to automatically download latest release of diyabc and abcranger
diyabc
abcranger
The text was updated successfully, but these errors were encountered:
Two needs (but more or less same implementation):
Sorry, something went wrong.
Needs curl and jq. Suppose you want the latest release of diyabc binary for windows (not drafted or prerelease)
curl -s https://api.github.com/repos/diyabc/diyabc/releases | \ jq -r '[[.[] | select(.draft != true) | select(.prerelease != true)][0] | .assets | .[] | select(.name | startswith("diyabc-windows")) | .browser_download_url][0]' | xargs curl -LO
If you want to do in R, the most obvious way is to get the https://api.github.com/repos/diyabc/diyabc/releases content in JSON and parse it for the binary link
Done in diyabcGUI with dl_latest_bin and dl_all_latest_bin functions
diyabcGUI
dl_latest_bin
dl_all_latest_bin
Also check script update_bin_release.R
update_bin_release.R
gdurif
No branches or pull requests
Write a script to automatically download latest release of
diyabc
andabcranger
The text was updated successfully, but these errors were encountered: