File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,12 @@ func (r *Release) APIURL() string {
120120
121121// ZipURL the zip url for a release. release must have attributes loaded
122122func (r * Release ) ZipURL () string {
123- return r .Repo .HTMLURL () + "/archive/" + util .PathEscapeSegments (r .TagName ) + ".zip"
123+ return r .Repo .APIURL () + "/archive/" + util .PathEscapeSegments (r .TagName ) + ".zip"
124124}
125125
126126// TarURL the tar.gz url for a release. release must have attributes loaded
127127func (r * Release ) TarURL () string {
128- return r .Repo .HTMLURL () + "/archive/" + util .PathEscapeSegments (r .TagName ) + ".tar.gz"
128+ return r .Repo .APIURL () + "/archive/" + util .PathEscapeSegments (r .TagName ) + ".tar.gz"
129129}
130130
131131// HTMLURL the url for a release on the web UI. release must have attributes loaded
You can’t perform that action at this time.
0 commit comments