aboutsummaryrefslogtreecommitdiffstats
path: root/services/convert/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/convert/release.go')
-rw-r--r--services/convert/release.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/convert/release.go b/services/convert/release.go
index d8aa46d432..bfff53e62f 100644
--- a/services/convert/release.go
+++ b/services/convert/release.go
@@ -22,6 +22,7 @@ func ToAPIRelease(ctx context.Context, repo *repo_model.Repository, r *repo_mode
HTMLURL: r.HTMLURL(),
TarURL: r.TarURL(),
ZipURL: r.ZipURL(),
+ UploadURL: r.APIUploadURL(),
IsDraft: r.IsDraft,
IsPrerelease: r.IsPrerelease,
CreatedAt: r.CreatedUnix.AsTime(),