mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	Add Zip URL for release list (#788)
Fix #780 Reviewed-on: https://gitea.com/gitea/tea/pulls/788 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		 Lunny Xiao
					Lunny Xiao
				
			
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			 techknowlogick
						techknowlogick
					
				
			
						parent
						
							4c00b8b571
						
					
				
				
					commit
					2ddb3bd4a1
				
			| @@ -14,7 +14,7 @@ func ReleasesList(releases []*gitea.Release, output string) { | ||||
| 		"Title", | ||||
| 		"Published At", | ||||
| 		"Status", | ||||
| 		"Tar URL", | ||||
| 		"Tar/Zip URL", | ||||
| 	) | ||||
|  | ||||
| 	for _, release := range releases { | ||||
| @@ -29,7 +29,7 @@ func ReleasesList(releases []*gitea.Release, output string) { | ||||
| 			release.Title, | ||||
| 			FormatTime(release.PublishedAt, isMachineReadable(output)), | ||||
| 			status, | ||||
| 			release.TarURL, | ||||
| 			release.TarURL+"\n"+release.ZipURL, | ||||
| 		) | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user