1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-15 01:34:21 +02:00

chore(deps): update gocloud to v0.39.0 (#5091)

forcing `awssdk=v1` for now.

will probably need to remove that soon, holding it now only because of
https://github.com/google/go-cloud/issues/3472

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-08-18 16:58:28 -03:00
committed by GitHub
parent 5b87a85ee0
commit c95bcdc1c6
4 changed files with 145 additions and 138 deletions

View File

@ -140,7 +140,7 @@ func TestURL(t *testing.T) {
DisableSSL: true,
})
require.NoError(t, err)
require.Equal(t, "s3://foo?disableSSL=true&endpoint=s3.foobar.com&region=us-west-1&s3ForcePathStyle=true", url)
require.Equal(t, "s3://foo?awssdk=v1&disableSSL=true&endpoint=s3.foobar.com&region=us-west-1&s3ForcePathStyle=true", url)
})
t.Run("s3 with some opts", func(t *testing.T) {
@ -151,7 +151,7 @@ func TestURL(t *testing.T) {
DisableSSL: true,
})
require.NoError(t, err)
require.Equal(t, "s3://foo?disableSSL=true&region=us-west-1", url)
require.Equal(t, "s3://foo?awssdk=v1&disableSSL=true&region=us-west-1", url)
})
t.Run("gs with opts", func(t *testing.T) {
@ -173,7 +173,7 @@ func TestURL(t *testing.T) {
Provider: "s3",
})
require.NoError(t, err)
require.Equal(t, "s3://foo", url)
require.Equal(t, "s3://foo?awssdk=v1", url)
})
t.Run("gs no opts", func(t *testing.T) {