diff --git a/internal/pipe/blob/blob_test.go b/internal/pipe/blob/blob_test.go index bbdf25c71..f710ca637 100644 --- a/internal/pipe/blob/blob_test.go +++ b/internal/pipe/blob/blob_test.go @@ -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",