You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-03 00:57:43 +02:00
feat: improve skip-publish behavior (#1474)
* Revert "feat: split brew tap in 2 steps (#1425)"
This reverts commit 5e8882fbb6
.
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: brew generation
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: improve bucket write
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: minio test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: err handling
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
committed by
GitHub
parent
705ab90e4f
commit
15fd80eded
@ -240,10 +240,8 @@ func TestPipe_Publish(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestURL(t *testing.T) {
|
||||
var buck = Bucket{}
|
||||
|
||||
t.Run("s3 with opts", func(t *testing.T) {
|
||||
url, err := buck.url(context.New(config.Project{}), config.Blob{
|
||||
url, err := urlFor(context.New(config.Project{}), config.Blob{
|
||||
Bucket: "foo",
|
||||
Provider: "s3",
|
||||
Region: "us-west-1",
|
||||
@ -256,7 +254,7 @@ func TestURL(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("s3 with some opts", func(t *testing.T) {
|
||||
url, err := buck.url(context.New(config.Project{}), config.Blob{
|
||||
url, err := urlFor(context.New(config.Project{}), config.Blob{
|
||||
Bucket: "foo",
|
||||
Provider: "s3",
|
||||
Region: "us-west-1",
|
||||
@ -267,7 +265,7 @@ func TestURL(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("gs with opts", func(t *testing.T) {
|
||||
url, err := buck.url(context.New(config.Project{}), config.Blob{
|
||||
url, err := urlFor(context.New(config.Project{}), config.Blob{
|
||||
Bucket: "foo",
|
||||
Provider: "gs",
|
||||
Region: "us-west-1",
|
||||
@ -280,7 +278,7 @@ func TestURL(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("s3 no opts", func(t *testing.T) {
|
||||
url, err := buck.url(context.New(config.Project{}), config.Blob{
|
||||
url, err := urlFor(context.New(config.Project{}), config.Blob{
|
||||
Bucket: "foo",
|
||||
Provider: "s3",
|
||||
})
|
||||
@ -289,7 +287,7 @@ func TestURL(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("gs no opts", func(t *testing.T) {
|
||||
url, err := buck.url(context.New(config.Project{}), config.Blob{
|
||||
url, err := urlFor(context.New(config.Project{}), config.Blob{
|
||||
Bucket: "foo",
|
||||
Provider: "gs",
|
||||
})
|
||||
|
Reference in New Issue
Block a user