You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-15 01:34:21 +02:00
test: blob defaults when no content disposition
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
@ -74,6 +74,10 @@ func TestDefaults(t *testing.T) {
|
||||
IDs: []string{"foo", "bar"},
|
||||
ContentDisposition: "inline",
|
||||
},
|
||||
{
|
||||
Bucket: "foobar2",
|
||||
Provider: "gcs",
|
||||
},
|
||||
{
|
||||
Bucket: "foobar",
|
||||
Provider: "gcs",
|
||||
@ -97,6 +101,12 @@ func TestDefaults(t *testing.T) {
|
||||
IDs: []string{"foo", "bar"},
|
||||
ContentDisposition: "inline",
|
||||
},
|
||||
{
|
||||
Bucket: "foobar2",
|
||||
Provider: "gcs",
|
||||
Directory: "{{ .ProjectName }}/{{ .Tag }}",
|
||||
ContentDisposition: "attachment;filename={{.Filename}}",
|
||||
},
|
||||
{
|
||||
Bucket: "foobar",
|
||||
Provider: "gcs",
|
||||
|
Reference in New Issue
Block a user