diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9734531..8df4291 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 6b6a0af..c84ea80 100644 --- a/.goreleaser.docker.yaml +++ b/.goreleaser.docker.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: baton-bamboohr builds: - binary: baton-bamboohr @@ -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 91b3058..8f5d619 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: baton-bamboohr builds: - binary: baton-bamboohr @@ -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-bamboohr -v"