You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-03 00:57:43 +02:00
feat!: v2 (#4806)
BREAKING CHANGE removed all deprecated options, config file should now have a `version: 2` bit  --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3e40af256c
commit
4fa8df6413
@ -83,13 +83,6 @@ func TestDefaults(t *testing.T) {
|
||||
Provider: "gcs",
|
||||
ContentDisposition: "-",
|
||||
},
|
||||
{
|
||||
Bucket: "deprecated",
|
||||
Provider: "s3",
|
||||
Folder: "static",
|
||||
OldDisableSSL: true,
|
||||
OldKMSKey: "fake",
|
||||
},
|
||||
},
|
||||
})
|
||||
require.NoError(t, Pipe{}.Default(ctx))
|
||||
@ -113,17 +106,6 @@ func TestDefaults(t *testing.T) {
|
||||
Directory: "{{ .ProjectName }}/{{ .Tag }}",
|
||||
ContentDisposition: "",
|
||||
},
|
||||
{
|
||||
Bucket: "deprecated",
|
||||
Provider: "s3",
|
||||
Folder: "static",
|
||||
Directory: "static",
|
||||
OldDisableSSL: true,
|
||||
DisableSSL: true,
|
||||
OldKMSKey: "fake",
|
||||
KMSKey: "fake",
|
||||
ContentDisposition: "attachment;filename={{.Filename}}",
|
||||
},
|
||||
}, ctx.Config.Blobs)
|
||||
}
|
||||
|
||||
@ -153,7 +135,7 @@ func TestURL(t *testing.T) {
|
||||
Bucket: "foo",
|
||||
Provider: "s3",
|
||||
Region: "us-west-1",
|
||||
Folder: "foo",
|
||||
Directory: "foo",
|
||||
Endpoint: "s3.foobar.com",
|
||||
DisableSSL: true,
|
||||
})
|
||||
@ -177,7 +159,7 @@ func TestURL(t *testing.T) {
|
||||
Bucket: "foo",
|
||||
Provider: "gs",
|
||||
Region: "us-west-1",
|
||||
Folder: "foo",
|
||||
Directory: "foo",
|
||||
Endpoint: "s3.foobar.com",
|
||||
DisableSSL: true,
|
||||
})
|
||||
|
Reference in New Issue
Block a user