Link the latest release to the direct latest download URL #13170

Open
opened 2025-11-02 10:33:30 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @vinibali on GitHub (Jun 18, 2024).

Feature Description

Hello there!
Could you please link the latest release to the latest download tag?
This would help to pick up the latest binaries on the go. The URL which would work in case of amd64 should be:

https://github.com/go-gitea/gitea/releases/latest/download/gitea-linux-amd64

but it's not pointing anywhere.
BR

Screenshots

No response

Originally created by @vinibali on GitHub (Jun 18, 2024). ### Feature Description Hello there! Could you please link the latest release to the latest download tag? This would help to pick up the latest binaries on the go. The URL which would work in case of amd64 should be: ``` https://github.com/go-gitea/gitea/releases/latest/download/gitea-linux-amd64 ``` but it's not pointing anywhere. BR ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:33:30 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 18, 2024):

The latest is set. But the problem is that the binary file itself contains the version number. So https://github.com/go-gitea/gitea/releases/latest/download/gitea-linux-amd64 is redirected to https://github.com/go-gitea/gitea/releases/download/v1.22.0/gitea-linux-amd64 but gitea-linux-amd64 doesn't exist.

@techknowlogick

@wxiaoguang commented on GitHub (Jun 18, 2024): The latest is set. But the problem is that the binary file itself contains the version number. So `https://github.com/go-gitea/gitea/releases/latest/download/gitea-linux-amd64` is redirected to `https://github.com/go-gitea/gitea/releases/download/v1.22.0/gitea-linux-amd64` but `gitea-linux-amd64` doesn't exist. @techknowlogick
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13170