forgejo/services/repository
Jason Song e96e1beded
Do not use lower tag names to find releases/tags (#29261)
Fix #26090, see
https://github.com/go-gitea/gitea/issues/26090#issuecomment-1952013206

Since `TagName` stores the original tag name and `LowerTagName` stores
the lower tag name, it doesn't make sense to use lowercase tags as
`TagNames` in `FindReleasesOptions`.

5e72526da4/services/repository/push.go (L396-L397)

While the only other usage looks correct:

5e72526da4/routers/web/repo/repo.go (L416)
(cherry picked from commit 0ea8de2d0729e1e1d0ea9de1e59fbcb673e87fd2)
2024-02-19 22:58:33 +01:00
..
archiver Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
files Extract linguist code to method (#29168) 2024-02-16 15:20:52 +01:00
adopt.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
adopt_test.go
avatar.go
avatar_test.go
branch.go [GITEA] Fix typo in formatting error 2024-02-05 16:54:44 +01:00
cache.go
check.go Update tool dependencies (#29030) 2024-02-02 19:11:39 -05:00
collaboration.go
collaboration_test.go
commit.go
contributors_graph.go Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
contributors_graph_test.go Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
create.go [GITEA] Allow changing the repo Wiki branch to main 2024-02-05 16:57:47 +01:00
create_test.go [CLEANUP] make golangci-lint@v1.56.1 happy 2024-02-15 16:19:36 +01:00
delete.go
delete_test.go
fork.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
fork_test.go
hooks.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
lfs.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
lfs_test.go
main_test.go
push.go Do not use lower tag names to find releases/tags (#29261) 2024-02-19 22:58:33 +01:00
repository.go
repository_test.go
review.go
review_test.go
setting.go Revert "Fix schedule tasks bugs (#28691)" (part 2) 2024-02-05 16:54:44 +01:00
template.go
transfer.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
transfer_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00