Skip to content
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

[Feature Request] A redirect link to the repository's latest release/tag #9505

Closed
2 of 7 tasks
ankurash opened this issue Dec 26, 2019 · 2 comments
Closed
2 of 7 tasks
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@ankurash
Copy link

ankurash commented Dec 26, 2019

  • Gitea version (or commit ref): 1.10.1
  • Git version: 2.17.1
  • Operating system: Ubuntu 18.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Github has a redirect link to the latest release in a repository. For example, on go-gitea/gitea repo,
https://github.com/go-gitea/gitea/releases/latest redirects to the latest tag (https://github.com/go-gitea/gitea/releases/tag/v1.10.1 as on this date).
This helps in checking and getting the latest release from a repository hosted on a gitea server, manually or using dedicated scripts.

@ankurash ankurash changed the title A link that redirects to the latest release in a repository's releases (or tags) A redirect link to the repository's latest release/tag Dec 26, 2019
@ankurash ankurash changed the title A redirect link to the repository's latest release/tag Feature request: A redirect link to the repository's latest release/tag Dec 26, 2019
@ankurash ankurash changed the title Feature request: A redirect link to the repository's latest release/tag [Feature Request] A redirect link to the repository's latest release/tag Dec 26, 2019
@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Dec 28, 2019
@jamesstout
Copy link

I think this was done by 4f597b1.

I'm trying to add it to the API too.

@jolheiser
Copy link
Member

@jamesstout Yes it was, thanks for the catch!
Fixed in #11102

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

4 participants