You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
feat(blob): content disposition
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
@ -29,6 +29,9 @@ func (Pipe) Default(ctx *context.Context) error {
|
||||
if blob.Folder == "" {
|
||||
blob.Folder = "{{ .ProjectName }}/{{ .Tag }}"
|
||||
}
|
||||
if blob.ContentDisposition == "" {
|
||||
blob.ContentDisposition = "attachment;filename={{.Filename}}"
|
||||
}
|
||||
if blob.OldDisableSSL {
|
||||
deprecate.Notice(ctx, "blobs.disableSSL")
|
||||
blob.DisableSSL = true
|
||||
|
Reference in New Issue
Block a user