Skip to content

Commit 55650a5

Browse files
authored
Update go version in tests. Fix goreleaser. (#36)
1 parent 67ea8aa commit 55650a5

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Run GoReleaser
2828
uses: goreleaser/goreleaser-action@v2
2929
with:
30-
version: latest
30+
version: "~> v2"
3131
args: release --rm-dist
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
@@ -55,7 +55,7 @@ jobs:
5555
- name: Run GoReleaser
5656
uses: goreleaser/goreleaser-action@v2
5757
with:
58-
version: latest
58+
version: "~> v2"
5959
args: release --rm-dist -f .goreleaser.docker.yaml
6060
env:
6161
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}

.goreleaser.docker.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
project_name: baton-github
23
builds:
34
- binary: baton-github
@@ -49,4 +50,4 @@ checksum:
4950
release:
5051
disable: true
5152
changelog:
52-
skip: true
53+
disable: true

.goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
project_name: baton-github
23
builds:
34
- binary: baton-github
@@ -65,10 +66,10 @@ checksum:
6566
- glob: ./dist/*-darwin-amd64.zip
6667
- glob: ./dist/*-darwin-arm64.zip
6768
brews:
68-
- tap:
69+
- repository:
6970
owner: conductorone
7071
name: homebrew-baton
71-
folder: Formula
72+
directory: Formula
7273
homepage: https://conductorone.com
7374
test: |
7475
system "#{bin}/baton-github -v"

0 commit comments

Comments
 (0)