How to download 'latest' version programatically #1450
Replies: 2 comments 3 replies
-
https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases e.g. https://github.com/jgraph/drawio-desktop/releases/latest |
Beta Was this translation helpful? Give feedback.
-
Thanks David. Is there any way you are able to apply a tag to the latest release and remove it from the last release each time you do a release? I hacked together this work-around script for now, but it is fragile as any change to the download paths, or your version numbering would break it. (EDIT: Someone more confident with regex could probably improve it)
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I'd like to install this app as a part of a Linux SOE I'm building. I wish to use a native package (deb and rpm) but as there's no repository available, how can I ensure the systems I manage always have the latest version?
Github doesn't provide a 'latest' version tag and while I can see there's a "latest-linux.yml" file available, it only seems to be downloadable from the specific version URL of the release. I won't know these version numbers in advance.
So, how can I programmatically ensure that the latest version of the package is always sourced from here please?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions