From acc9eea154941db9247dcd3b78841b414ab4fbfa Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 1 Mar 2023 01:20:37 -0300 Subject: [PATCH] feat(deps): update env to v7 (#3814) env v7! Signed-off-by: Carlos A Becker --- go.mod | 2 +- go.sum | 4 ++-- internal/pipe/discord/discord.go | 2 +- internal/pipe/linkedin/linkedin.go | 2 +- internal/pipe/mastodon/mastodon.go | 2 +- internal/pipe/mattermost/mattermost.go | 2 +- internal/pipe/opencollective/opencollective.go | 2 +- internal/pipe/reddit/reddit.go | 2 +- internal/pipe/slack/slack.go | 2 +- internal/pipe/smtp/smtp.go | 2 +- internal/pipe/teams/teams.go | 2 +- internal/pipe/telegram/telegram.go | 2 +- internal/pipe/twitter/twitter.go | 2 +- internal/pipe/webhook/webhook.go | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 9e15bfb51..dbdd1d976 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/atc0005/go-teams-notify/v2 v2.7.0 github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220517224237-e6f29200ae04 github.com/caarlos0/ctrlc v1.2.0 - github.com/caarlos0/env/v6 v6.10.1 + github.com/caarlos0/env/v7 v7.0.0 github.com/caarlos0/go-reddit/v3 v3.0.1 github.com/caarlos0/go-shellwords v1.0.12 github.com/caarlos0/log v0.2.1 diff --git a/go.sum b/go.sum index e32f9b014..5f6ed94d7 100644 --- a/go.sum +++ b/go.sum @@ -853,8 +853,8 @@ github.com/bytecodealliance/wasmtime-go v0.36.0/go.mod h1:q320gUxqyI8yB+ZqRuaJOE github.com/caarlos0/ctrlc v1.0.0/go.mod h1:CdXpj4rmq0q/1Eb44M9zi2nKB0QraNKuRGYGrrHhcQw= github.com/caarlos0/ctrlc v1.2.0 h1:AtbThhmbeYx1WW3WXdWrd94EHKi+0NPRGS4/4pzrjwk= github.com/caarlos0/ctrlc v1.2.0/go.mod h1:n3gDlSjsXZ7rbD9/RprIR040b7oaLfNStikPd4gFago= -github.com/caarlos0/env/v6 v6.10.1 h1:t1mPSxNpei6M5yAeu1qtRdPAK29Nbcf/n3G7x+b3/II= -github.com/caarlos0/env/v6 v6.10.1/go.mod h1:hvp/ryKXKipEkcuYjs9mI4bBCg+UI0Yhgm5Zu0ddvwc= +github.com/caarlos0/env/v7 v7.0.0 h1:cyczlTd/zREwSr9ch/mwaDl7Hse7kJuUY8hvHfXu5WI= +github.com/caarlos0/env/v7 v7.0.0/go.mod h1:LPPWniDUq4JaO6Q41vtlyikhMknqymCLBw0eX4dcH1E= github.com/caarlos0/go-reddit/v3 v3.0.1 h1:w8ugvsrHhaE/m4ez0BO/sTBOBWI9WZTjG7VTecHnql4= github.com/caarlos0/go-reddit/v3 v3.0.1/go.mod h1:QlwgmG5SAqxMeQvg/A2dD1x9cIZCO56BMnMdjXLoisI= github.com/caarlos0/go-rpmutils v0.2.1-0.20211112020245-2cd62ff89b11 h1:IRrDwVlWQr6kS1U8/EtyA1+EHcc4yl8pndcqXWrEamg= diff --git a/internal/pipe/discord/discord.go b/internal/pipe/discord/discord.go index 4f10ab705..936aed04c 100644 --- a/internal/pipe/discord/discord.go +++ b/internal/pipe/discord/discord.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/disgoorg/disgo/discord" "github.com/disgoorg/disgo/webhook" diff --git a/internal/pipe/linkedin/linkedin.go b/internal/pipe/linkedin/linkedin.go index 11709a265..a38d9cf7c 100644 --- a/internal/pipe/linkedin/linkedin.go +++ b/internal/pipe/linkedin/linkedin.go @@ -3,7 +3,7 @@ package linkedin import ( "fmt" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context" diff --git a/internal/pipe/mastodon/mastodon.go b/internal/pipe/mastodon/mastodon.go index 52d6a6e60..b30287b58 100644 --- a/internal/pipe/mastodon/mastodon.go +++ b/internal/pipe/mastodon/mastodon.go @@ -3,7 +3,7 @@ package mastodon import ( "fmt" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context" diff --git a/internal/pipe/mattermost/mattermost.go b/internal/pipe/mattermost/mattermost.go index 49c1001c5..9addec586 100644 --- a/internal/pipe/mattermost/mattermost.go +++ b/internal/pipe/mattermost/mattermost.go @@ -7,7 +7,7 @@ import ( "io" "net/http" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" diff --git a/internal/pipe/opencollective/opencollective.go b/internal/pipe/opencollective/opencollective.go index 92ee66efd..e6c5f4735 100644 --- a/internal/pipe/opencollective/opencollective.go +++ b/internal/pipe/opencollective/opencollective.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context" diff --git a/internal/pipe/reddit/reddit.go b/internal/pipe/reddit/reddit.go index c972b9129..91402855a 100644 --- a/internal/pipe/reddit/reddit.go +++ b/internal/pipe/reddit/reddit.go @@ -3,7 +3,7 @@ package reddit import ( "fmt" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/go-reddit/v3/reddit" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" diff --git a/internal/pipe/slack/slack.go b/internal/pipe/slack/slack.go index 527eb30a0..64481e846 100644 --- a/internal/pipe/slack/slack.go +++ b/internal/pipe/slack/slack.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context" diff --git a/internal/pipe/smtp/smtp.go b/internal/pipe/smtp/smtp.go index 3b5b82636..fb74e25da 100644 --- a/internal/pipe/smtp/smtp.go +++ b/internal/pipe/smtp/smtp.go @@ -4,7 +4,7 @@ import ( "crypto/tls" "fmt" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context" diff --git a/internal/pipe/teams/teams.go b/internal/pipe/teams/teams.go index eebf51bcc..543dbf168 100644 --- a/internal/pipe/teams/teams.go +++ b/internal/pipe/teams/teams.go @@ -5,7 +5,7 @@ import ( goteamsnotify "github.com/atc0005/go-teams-notify/v2" "github.com/atc0005/go-teams-notify/v2/messagecard" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context" diff --git a/internal/pipe/telegram/telegram.go b/internal/pipe/telegram/telegram.go index 614bad771..decb5b6f5 100644 --- a/internal/pipe/telegram/telegram.go +++ b/internal/pipe/telegram/telegram.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" api "github.com/go-telegram-bot-api/telegram-bot-api" "github.com/goreleaser/goreleaser/internal/tmpl" diff --git a/internal/pipe/twitter/twitter.go b/internal/pipe/twitter/twitter.go index abb379a0b..16356c107 100644 --- a/internal/pipe/twitter/twitter.go +++ b/internal/pipe/twitter/twitter.go @@ -3,7 +3,7 @@ package twitter import ( "fmt" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/dghubble/go-twitter/twitter" "github.com/dghubble/oauth1" diff --git a/internal/pipe/webhook/webhook.go b/internal/pipe/webhook/webhook.go index 9b7a8605a..c508051a7 100644 --- a/internal/pipe/webhook/webhook.go +++ b/internal/pipe/webhook/webhook.go @@ -9,7 +9,7 @@ import ( "net/url" "strings" - "github.com/caarlos0/env/v6" + "github.com/caarlos0/env/v7" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal/tmpl" "github.com/goreleaser/goreleaser/pkg/context"