diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 213f54fa..3aef76c7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,9 +25,9 @@ jobs: p12-file-base64: ${{ secrets.APPLE_SIGNING_KEY_P12 }} p12-password: ${{ secrets.APPLE_SIGNING_KEY_P12_PASSWORD }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: "~> v2" args: release --clean env: GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }} @@ -53,9 +53,9 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: "~> v2" args: release --clean -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 d7519db9..252288a6 100644 --- a/.goreleaser.docker.yaml +++ b/.goreleaser.docker.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: baton-okta builds: - binary: baton-okta @@ -51,4 +52,4 @@ checksum: release: disable: true changelog: - skip: true + disable: true diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a9401e2b..085b0d8a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: baton-okta builds: - binary: baton-okta @@ -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-okta -v"