Skip to content

Commit

Permalink
Update go version in tests. Fix goreleaser. (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchavez authored Jul 16, 2024
1 parent ad4f4af commit 5d8479c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
version: "~> v2"
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
version: "~> v2"
args: release --rm-dist -f .goreleaser.docker.yaml
env:
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .goreleaser.docker.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: baton-aws
builds:
- binary: baton-aws
Expand Down Expand Up @@ -51,4 +52,4 @@ checksum:
release:
disable: true
changelog:
skip: true
disable: true
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: baton-aws
builds:
- binary: baton-aws
Expand Down Expand Up @@ -65,10 +66,10 @@ checksum:
- glob: ./dist/*-darwin-amd64.zip
- glob: ./dist/*-darwin-arm64.zip
brews:
- tap:
- repository:
owner: conductorone
name: homebrew-baton
folder: Formula
directory: Formula
homepage: https://conductorone.com
test: |
system "#{bin}/baton-aws -v"
Expand Down

0 comments on commit 5d8479c

Please sign in to comment.