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.
cc27b50bdf
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 | |
branch | 12 months ago | |
cite | 1 year ago | |
code | 12 months ago | |
diff | 11 months ago | |
editor | 11 months ago | |
find | 1 year ago | |
graph | 1 year ago | |
issue | 11 months ago | |
migrate | 12 months ago | |
projects | 1 year ago | |
pulls | 12 months ago | |
release | 11 months ago | |
settings | 11 months ago | |
tag | 1 year ago | |
wiki | 12 months ago | |
activity.tmpl | 12 months ago | |
blame.tmpl | 12 months ago | |
branch_dropdown.tmpl | 1 year ago | |
clone_buttons.tmpl | 1 year ago | |
clone_script.tmpl | 11 months ago | |
code_frequency.tmpl | 12 months ago | |
commit_load_branches_and_tags.tmpl | 1 year ago | |
commit_page.tmpl | 11 months ago | |
commit_status.tmpl | 1 year ago | |
commit_statuses.tmpl | 12 months ago | |
commits.tmpl | 1 year ago | |
commits_list.tmpl | 12 months ago | |
commits_list_small.tmpl | 1 year ago | |
commits_table.tmpl | 1 year ago | |
contributors.tmpl | 12 months ago | |
create.tmpl | 12 months ago | |
create_helper.tmpl | 12 months ago | |
empty.tmpl | 12 months ago | |
file_info.tmpl | 1 year ago | |
forks.tmpl | 1 year ago | |
graph.tmpl | 1 year ago | |
header.tmpl | 11 months ago | |
home.tmpl | 12 months ago | |
icon.tmpl | 12 months ago | |
latest_commit.tmpl | 1 year ago | |
navbar.tmpl | 12 months ago | |
packages.tmpl | 2 years ago | |
pulse.tmpl | 12 months ago | |
recent_commits.tmpl | 12 months ago | |
release_tag_header.tmpl | 11 months ago | |
search.tmpl | 12 months ago | |
search_name.tmpl | 2 years ago | |
shabox_badge.tmpl | 1 year ago | |
star_unstar.tmpl | 1 year ago | |
sub_menu.tmpl | 1 year ago | |
unicode_escape_prompt.tmpl | 12 months ago | |
upload.tmpl | 1 year ago | |
user_cards.tmpl | 12 months ago | |
view_file.tmpl | 1 year ago | |
view_list.tmpl | 1 year ago | |
watch_unwatch.tmpl | 1 year ago | |
watchers.tmpl | 2 years ago |