mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	@@ -418,6 +418,7 @@ func RedirectDownload(ctx *context.Context) {
 | 
			
		||||
	tagNames := []string{vTag}
 | 
			
		||||
	curRepo := ctx.Repo.Repository
 | 
			
		||||
	releases, err := db.Find[repo_model.Release](ctx, repo_model.FindReleasesOptions{
 | 
			
		||||
		IncludeDrafts: ctx.Repo.CanWrite(unit.TypeReleases),
 | 
			
		||||
		RepoID:        curRepo.ID,
 | 
			
		||||
		TagNames:      tagNames,
 | 
			
		||||
	})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user