mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +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"},
|
IDs: []string{"foo", "bar"},
|
||||||
ContentDisposition: "inline",
|
ContentDisposition: "inline",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Bucket: "foobar2",
|
||||||
|
Provider: "gcs",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Bucket: "foobar",
|
Bucket: "foobar",
|
||||||
Provider: "gcs",
|
Provider: "gcs",
|
||||||
@ -97,6 +101,12 @@ func TestDefaults(t *testing.T) {
|
|||||||
IDs: []string{"foo", "bar"},
|
IDs: []string{"foo", "bar"},
|
||||||
ContentDisposition: "inline",
|
ContentDisposition: "inline",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Bucket: "foobar2",
|
||||||
|
Provider: "gcs",
|
||||||
|
Directory: "{{ .ProjectName }}/{{ .Tag }}",
|
||||||
|
ContentDisposition: "attachment;filename={{.Filename}}",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Bucket: "foobar",
|
Bucket: "foobar",
|
||||||
Provider: "gcs",
|
Provider: "gcs",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user