1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-03 00:57:43 +02:00
BREAKING CHANGE

removed all deprecated options, config file should now have a `version:
2` bit


![Dont
Matter](https://github.com/goreleaser/goreleaser/assets/245435/31ece16a-cb70-4e43-9caa-8364e73fbeb9)

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-05-25 14:09:49 -03:00
committed by GitHub
parent 3e40af256c
commit 4fa8df6413
45 changed files with 331 additions and 572 deletions

View File

@ -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,
})