gitea/routers
yp05327 dc679fc9fa
Fix incorrect release count (#25879)
Release count is not correct:
https://try.gitea.io/yp05327/testrepo/tags

![image](https://github.com/go-gitea/gitea/assets/18380374/07f97c62-d450-4ccb-b3f2-3e0af9d9fc52)

https://try.gitea.io/yp05327/testrepo/releases

![image](https://github.com/go-gitea/gitea/assets/18380374/6f1d55a4-bb68-445d-84b9-90552a40f403)

https://try.gitea.io/yp05327/testrepo/releases/tag/testtag

![image](https://github.com/go-gitea/gitea/assets/18380374/09ab5d51-52b6-4621-a571-3100198eb260)

We already have correct release count, no need to calculate it again.

c5e187c389/modules/context/repo.go (L547)

Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-14 08:47:17 +00:00
..
api For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
private Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix incorrect release count (#25879) 2023-07-14 08:47:17 +00:00
init.go Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00