mirror of
https://gitea.com/gitea/tea.git
synced 2025-09-01 09:28:30 +02: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:

committed by
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