go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.99k stars 5.4k forks source link

Redirect/additional files to download latest version #861

Open JKingweb opened 7 years ago

JKingweb commented 7 years ago

Gogs has a set of "latest" files (e.g. gogs_latest_linux_amd64.tar.gz) available for download, which makes getting the latest version easier. It would be nice if dl.gitea.io had this feature as well.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41763446-redirect-additional-files-to-download-latest-version?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).
tboerger commented 7 years ago

Since we are also backporting fixes it's pretty difficult to declare latest within an automated publishing process.

lunny commented 7 years ago

In fact, you can find them in https://dl.gitea.io/gitea/master/

tboerger commented 7 years ago

In fact, you can find them in https://dl.gitea.io/gitea/master/

But it's not exactly the same. I think he refers to latest stable release and not to the master release. But this is difficult to do it automatically since we are also backporting to older minor releases, in terms of the CI server this backport should be latest stable release even if we already released a new minor version.