From 5d8479c6932d390e9cf50115fb40cf3b8f026910 Mon Sep 17 00:00:00 2001 From: mchavez Date: Tue, 16 Jul 2024 12:13:05 -0600 Subject: [PATCH] Update go version in tests. Fix goreleaser. (#44) --- .github/workflows/release.yaml | 4 ++-- .goreleaser.docker.yaml | 3 ++- .goreleaser.yaml | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 28674bc6..b0cb4beb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }} @@ -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 }} \ No newline at end of file diff --git a/.goreleaser.docker.yaml b/.goreleaser.docker.yaml index 06655ef0..042197bf 100644 --- a/.goreleaser.docker.yaml +++ b/.goreleaser.docker.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: baton-aws builds: - binary: baton-aws @@ -51,4 +52,4 @@ checksum: release: disable: true changelog: - skip: true \ No newline at end of file + disable: true \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a0b934fc..18f692c4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: baton-aws builds: - binary: baton-aws @@ -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"