mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	improvement some release related code (#19867)
This commit is contained in:
		@@ -399,7 +399,7 @@ func pushUpdateAddTags(ctx context.Context, repo *repo_model.Repository, gitRepo
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if len(newReleases) > 0 {
 | 
			
		||||
		if err = models.InsertReleasesContext(ctx, newReleases); err != nil {
 | 
			
		||||
		if err = db.Insert(ctx, newReleases); err != nil {
 | 
			
		||||
			return fmt.Errorf("Insert: %v", err)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user