Skip to content

Commit

Permalink
update deprecated fields for goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Oct 27, 2023
1 parent c4835bf commit 84eb4d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ builds:
-X github.com/helm/chart-releaser/cr/cmd.BuildDate={{ .Date }}
archives:
- rlcp: true
format_overrides:
- format_overrides:
- goos: windows
format: zip
files:
Expand Down Expand Up @@ -172,7 +171,7 @@ docker_signs:
artifacts: manifests

brews:
- tap:
- repository:
owner: helm
name: homebrew-tap
commit_author:
Expand Down
4 changes: 2 additions & 2 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
func Lint() error {
// if running on CI we have a gh action to run it
if os.Getenv("CI") == "" {
if err := sh.RunV("golangci-lint", "run", "--timeout", "3m"); err != nil {
if err := sh.RunV("golangci-lint", "run", "--timeout", "5m"); err != nil {
return err
}
}
Expand Down Expand Up @@ -110,7 +110,7 @@ func Test() error {
}

func Build() error {
return sh.RunV("goreleaser", "release", "--clean", "--snapshot", "--skip-sign")
return sh.RunV("goreleaser", "release", "--clean", "--snapshot", "--skip=sign")
}

func CI() error {
Expand Down

0 comments on commit 84eb4d0

Please sign in to comment.