diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 000000000..3623817f3 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,27 @@ +name: goreleaser + +on: + push: + tags: + - '*' +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - + name: Set up Go + uses: actions/setup-go@v3 + - + name: Run GoReleaser + uses: goreleaser/goreleaser-action@v3 + with: + distribution: goreleaser + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index eb151aeb1..8db074606 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -28,3 +28,9 @@ changelog: exclude: - '^docs:' - '^test:' +brews: +- name: kubefirst + homepage: https://github.com/kubefirst/kubefirst + tap: + owner: kubefirst + name: homebrew-tools \ No newline at end of file