mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +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:
parent
3c0c7148fd
commit
12e8c22e12
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user