1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-17 01:42:37 +02:00

feat(blob): cache_control

Co-authored-by: Carlos Henrique Guardão Gandarez <gandarez@gmail.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-01-07 15:03:07 -03:00
parent 4af022b98a
commit 88ebab066d
4 changed files with 24 additions and 8 deletions

View File

@ -86,11 +86,12 @@ func TestMinioUpload(t *testing.T) {
ProjectName: "testupload",
Blobs: []config.Blob{
{
Provider: "s3",
Bucket: name,
Region: "us-east",
Endpoint: "http://" + listen,
IDs: []string{"foo", "bar"},
Provider: "s3",
Bucket: name,
Region: "us-east",
Endpoint: "http://" + listen,
IDs: []string{"foo", "bar"},
CacheControl: []string{"max-age=9999"},
ExtraFiles: []config.ExtraFile{
{
Glob: "./testdata/*.golden",