-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
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
FR: Use tags to get the latest download URL from github #494
Comments
Many thanks for this @bartreardon , I've incorporated this into the pre-release of 34.0 (and the Makefile) - in the 34.0 branch. |
sharing is caring 🙂 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Regarding this block of code:
erase-install/erase-install.sh
Lines 59 to 67 in 515128a
It would be more robust to use the release tag to get the download url rather than expect the pkg name to be in a certain format. Then if I have a lapse in memory and use a different filename things won't break and you only need the tag to get whatever the download url is (or no tag to just get the latest)
The following will work to get either the latest release or a specific tag:
Do note that unauthenticated access to the github api is limited to 60 requests per hour per client.
The text was updated successfully, but these errors were encountered: