mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 00:03:35 +01:00
Update repo.go
Release download file name doesn't include tag number #2339 Download: Changed to use refName instead of commit.ID for downloaded file name
This commit is contained in:
parent
e0f0f72a36
commit
7655337a1f
1 changed files with 1 additions and 1 deletions
|
@ -330,5 +330,5 @@ func Download(ctx *middleware.Context) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+base.ShortSha(commit.ID.String())+ext)
|
ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+refName+ext)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue