mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Partially caused by #29149 When use ```go releases, err := getReleaseInfos(ctx, &repo_model.FindReleasesOptions{ ListOptions: db.ListOptions{Page: 1, PageSize: 1}, RepoID: ctx.Repo.Repository.ID, TagNames: []string{ctx.Params("*")}, // only show draft releases for users who can write, read-only users shouldn't see draft releases. IncludeDrafts: writeAccess, }) ``` replace ```go release, err := repo_model.GetRelease(ctx, ctx.Repo.Repository.ID, ctx.Params("*")) ``` It missed `IncludeTags: true,`. That means this bug will be occupied only when the release is a tag. This PR will fix - Get the right tag record when it's not a release - Display correct tag tab but not release tag when it's a tag. - The button will bring the tag name to the new page when it's a single tag page - the new page will automatically hide the release target inputbox when the tag name is pre filled. This should be backport to v1.21. |
11 months ago | |
---|---|---|
.. | ||
actions | 12 months ago | |
setting | 12 months ago | |
activity.go | 12 months ago | |
attachment.go | 12 months ago | |
blame.go | 12 months ago | |
branch.go | 12 months ago | |
cherry_pick.go | 12 months ago | |
code_frequency.go | 12 months ago | |
commit.go | 12 months ago | |
compare.go | 12 months ago | |
contributors.go | 12 months ago | |
download.go | 12 months ago | |
editor.go | 12 months ago | |
editor_test.go | 12 months ago | |
find.go | 12 months ago | |
githttp.go | 12 months ago | |
githttp_test.go | 1 year ago | |
helper.go | 12 months ago | |
helper_test.go | 1 year ago | |
issue.go | 12 months ago | |
issue_content_history.go | 12 months ago | |
issue_dependency.go | 12 months ago | |
issue_label.go | 12 months ago | |
issue_label_test.go | 12 months ago | |
issue_lock.go | 12 months ago | |
issue_pin.go | 12 months ago | |
issue_stopwatch.go | 12 months ago | |
issue_test.go | 2 years ago | |
issue_timetrack.go | 12 months ago | |
issue_watch.go | 12 months ago | |
main_test.go | 1 year ago | |
middlewares.go | 12 months ago | |
migrate.go | 12 months ago | |
milestone.go | 12 months ago | |
packages.go | 12 months ago | |
patch.go | 12 months ago | |
projects.go | 12 months ago | |
projects_test.go | 12 months ago | |
pull.go | 11 months ago | |
pull_review.go | 12 months ago | |
pull_review_test.go | 12 months ago | |
recent_commits.go | 12 months ago | |
release.go | 11 months ago | |
release_test.go | 12 months ago | |
render.go | 12 months ago | |
repo.go | 12 months ago | |
search.go | 12 months ago | |
topic.go | 12 months ago | |
treelist.go | 12 months ago | |
view.go | 12 months ago | |
view_test.go | 2 years ago | |
wiki.go | 12 months ago | |
wiki_test.go | 12 months ago |