Skip to content

Commit e08d086

Browse files
authored
update dependencies, upgrade to go 1.16.x and update goreleaser (#129)
Signed-off-by: Carlos Panato <[email protected]>
1 parent e53e0e7 commit e08d086

File tree

7 files changed

+616
-429
lines changed

7 files changed

+616
-429
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: "1.15.8"
19+
go-version: "1.16.x"
2020

2121
- name: Cache
2222
uses: actions/cache@v2

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: "1.15.8"
22+
go-version: "1.16.x"
2323

2424
- name: Cache
2525
uses: actions/cache@v2

.goreleaser.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ snapshot:
3030
dockers:
3131
- goos: linux
3232
goarch: amd64
33-
binaries:
34-
- cr
3533
skip_push: false
3634
dockerfile: Dockerfile
3735
image_templates:

go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
module github.com/helm/chart-releaser
22

3-
go 1.15
3+
go 1.16
44

55
require (
66
github.com/Songmu/retry v0.1.0
7-
github.com/golangci/golangci-lint v1.37.0
8-
github.com/google/go-github/v33 v33.0.0
9-
github.com/goreleaser/goreleaser v0.156.2
7+
github.com/golangci/golangci-lint v1.41.1
8+
github.com/google/go-github/v36 v36.0.0
9+
github.com/goreleaser/goreleaser v0.172.1
1010
github.com/magefile/mage v1.11.0
1111
github.com/mitchellh/go-homedir v1.1.0
1212
github.com/pkg/errors v0.9.1
1313
github.com/spf13/cobra v1.1.3
1414
github.com/spf13/pflag v1.0.5
15-
github.com/spf13/viper v1.7.1
15+
github.com/spf13/viper v1.8.1
1616
github.com/stretchr/testify v1.7.0
17-
golang.org/x/oauth2 v0.0.0-20210216194517-16ff1888fd2e
18-
golang.org/x/tools v0.1.0
19-
helm.sh/helm/v3 v3.5.2
17+
golang.org/x/oauth2 v0.0.0-20210622215436-a8dc77f794b6
18+
golang.org/x/tools v0.1.4
19+
helm.sh/helm/v3 v3.6.1
2020
)
2121

2222
replace (

go.sum

Lines changed: 604 additions & 415 deletions
Large diffs are not rendered by default.

pkg/github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/Songmu/retry"
2626
"github.com/pkg/errors"
2727

28-
"github.com/google/go-github/v33/github"
28+
"github.com/google/go-github/v36/github"
2929
"golang.org/x/oauth2"
3030
)
3131

pkg/releaser/releaser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func (r *Releaser) UpdateIndexFile() (bool, error) {
207207
if err != nil {
208208
return false, err
209209
}
210-
defer r.git.RemoveWorktree("", worktree) // nolint, errcheck
210+
defer r.git.RemoveWorktree("", worktree) // nolint: errcheck
211211

212212
indexYamlPath := filepath.Join(worktree, "index.yaml")
213213
if err := copyFile(r.config.IndexPath, indexYamlPath); err != nil {

0 commit comments

Comments
 (0)