Permanent/Predictable Link to Latest Release?

This sounds a bit daft, but is there a way to link to the latest release of a project on Gitlab.com?

I can’t see a link on the UI, but I see lots of chatter about it (here, here, here, here, here, here, here and here), some more directly addressing this than others.

“all” I’m after is a URL I can share, or put on my personal/company website that says “click here to download the latest release”, and for that to cause my browser to download, well, the latest release (not a previous one). Is it possible?

I’m aware that a release may be made of many files, not least a .zip, .tar.gz, .tar.bz2, .tar etc. I’m assuming the link would be to only one of these format - eg. “click here to download latest” actually downloads the .zip file.

I’m also aware that CI may have created artifacts - I believe there’s a solution for those. I’m really after the “releases” - ie. Go to Project home page -> Click “Releases” in the “Project Overview” section of the left hand sidebar.

Any thoughts or help would be much appreciated - As much as I’ve tried to understand the issues tickets, I can’t see if something’s actually made it into the public site or not, much less what it might actually be.

1 Like

Hi @coofercat! I wanted you to know that I have looped in our Product Team to review your input here.

I know they are always looking for fresh eyes to point out when things aren’t as clear as they should be.

Thanks for taking the time to write this all down for us, and welcome to our forum! :blush:

If Product come by to see this, my immediate use-case is an Octoprint plugin. The details don’t matter, it’s just that Octoprint plugins like to have a link to their latest releases baked into them (in a meta data file). This requirement means that at the moment, Github is the only site really used for these plugins (as they have a “latest release” URL) - I’d obviously like to use Gitlab if at all possible, and hopefully an additional link isn’t a particularly big request, but has benefits to many (and not just Octoprint plugin writers).

From a technical standpoint, the “latest release” URL can either just serve up an archive of the release (perhaps the zip of it?), or it can be a 301/302 redirect to the actual URL that serves up the Zip. Ultimately, just so long as something starts downloading when you go to the URL, then I think we’re sorted :slight_smile: