mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	build failed by deleting release by API (#562)
This commit is contained in:
		@@ -178,7 +178,7 @@ func DeleteRelease(ctx *context.APIContext) {
 | 
			
		||||
		ctx.Status(404)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
	if err := models.DeleteReleaseByID(id, ctx.User); err != nil {
 | 
			
		||||
	if err := models.DeleteReleaseByID(id, ctx.User, false); err != nil {
 | 
			
		||||
		ctx.Error(500, "DeleteReleaseByID", err)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user