Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
go build -v .
go test ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@master
uses: goreleaser/goreleaser-action@v6
with:
args: release --snapshot --skip-publish --rm-dist
distribution: goreleaser
version: '~> v2'
args: release --snapshot --skip=publish --clean
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
with:
go-version: "^1.16.0"
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@master
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
#To keep same behavior
version: '~> v1'
args: release
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
10 changes: 2 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod tidy
Expand All @@ -7,13 +8,6 @@ builds:
- CGO_ENABLED=0
ldflags:
- -X github.com/technicallyjosh/easy-params/cmd.version={{ .Version }}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
Expand All @@ -25,7 +19,7 @@ changelog:
- "^docs:"
- "^test:"
brews:
- tap:
- repository:
owner: technicallyjosh
name: homebrew-easy-params
description: Opinionated CLI for easy management of SSM Parameters.
Expand Down