Skip to content

Commit

Permalink
updates to CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 2, 2025
1 parent cd34e8b commit bb1e69e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ jobs:
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2.7.0
with:
args: release --rm-dist
args: release --clean
version: "<2"
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.GORELEASER_HOMEBREW_TAP_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ needs.tag.outputs.requested_version }}
GORELEASER_PREVIOUS_TAG: ${{ needs.tag.outputs.previous_version }}
#GORELEASER_PREVIOUS_TAG: ${{ needs.tag.outputs.previous_version }}
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,13 @@ brews:
folder: Formula
test: |
system "#{bin}mockery --version"
release:
prerelease: false
make_latest: true

git:
ignore_tags:
- v2
- v3
prerelease_suffix: "-"

0 comments on commit bb1e69e

Please sign in to comment.