Skip to content

Commit 2063ec9

Browse files
authored
Merge pull request #214 from okta/fix_goreleaser_config
Needed goreleaser adjustments.
2 parents 7ceaa49 + 6ef3452 commit 2063ec9

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
name: Run GoReleaser
3434
uses: goreleaser/goreleaser-action@v6.0.0
3535
with:
36-
version: latest
36+
version: '~> v2'
3737
args: release --clean
3838
env:
3939
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

.goreleaser.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# This is an example .goreleaser.yml file with some sensible defaults.
22
# Make sure to check the documentation at https://goreleaser.com
3+
version: 2
34
before:
45
hooks:
56
# You may remove this if you don't use go modules.
@@ -33,9 +34,4 @@ snapshot:
3334
release:
3435
draft: true
3536
changelog:
36-
skip: true
37-
#sort: asc
38-
#filters:
39-
# exclude:
40-
# - '^docs:'
41-
# - '^test:'
37+
disable: true

go.mod

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.21
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.6
7+
github.com/BurntSushi/toml v1.4.0
78
github.com/aws/aws-sdk-go v1.44.94
89
github.com/cenkalti/backoff/v4 v4.1.3
910
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
@@ -24,10 +25,7 @@ require (
2425
gopkg.in/yaml.v2 v2.4.0
2526
)
2627

27-
require (
28-
github.com/BurntSushi/toml v1.4.0 // indirect
29-
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
30-
)
28+
require golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
3129

3230
require (
3331
github.com/davecgh/go-spew v1.1.1 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4f
439439
golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
440440
golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
441441
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
442-
golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=
443-
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
444442
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
445443
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
446444
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)