mirror of
https://gitea.com/gitea/tea.git
synced 2025-09-04 02:48:29 +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",
|
"Title",
|
||||||
"Published At",
|
"Published At",
|
||||||
"Status",
|
"Status",
|
||||||
"Tar URL",
|
"Tar/Zip URL",
|
||||||
)
|
)
|
||||||
|
|
||||||
for _, release := range releases {
|
for _, release := range releases {
|
||||||
@ -29,7 +29,7 @@ func ReleasesList(releases []*gitea.Release, output string) {
|
|||||||
release.Title,
|
release.Title,
|
||||||
FormatTime(release.PublishedAt, isMachineReadable(output)),
|
FormatTime(release.PublishedAt, isMachineReadable(output)),
|
||||||
status,
|
status,
|
||||||
release.TarURL,
|
release.TarURL+"\n"+release.ZipURL,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user