diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 5f7bfab..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Release -on: - push: - tags: - - '*' - -jobs: - goreleaser: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Extract version - id: extract-version - run: | - printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}" - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: "1.20" - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 - with: - version: latest - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: mislav/bump-homebrew-formula-action@v2 - with: - formula-name: cf-vault - formula-path: Casks/cf-vault.rb - homebrew-tap: jacobbednarz/homebrew-tap - base-branch: master - download-url: https://github.com/jacobbednarz/cf-vault/releases/download/${{ steps.extract-version.outputs.tag-name }}/cf-vault_${{ steps.extract-version.outputs.tag-name }}_darwin_amd64.zip - commit-message: Bump {{formulaName}} to {{version}} - env: - COMMITTER_TOKEN: ${{ secrets.HOMEBREW_UPDATER_PAT }}