Skip to content

Commit

Permalink
potentially force goreleaser to behave
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Apr 17, 2024
1 parent 85adf53 commit 8bfbbd5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/goreleaser-cd.yml
Expand Up @@ -98,6 +98,11 @@ jobs:
path: dist/windows
key: windows-${{ env.sha_short }}
enableCrossOsArchive: true
- name: Get Previous Tag
id: prev
uses: WyriHaximus/github-action-get-previous-tag@v1
env:
INPUT_PREFIX: v
- name: GoReleaser (Release)
uses: goreleaser/goreleaser-action@v4
if: steps.cache.outputs.cache-hit != 'true' # do not run if cache hit
Expand All @@ -111,6 +116,7 @@ jobs:
GITLAB_CLIENT_SECRET: ${{ secrets.GITLAB_CLIENT_SECRET }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ github.ref_name }}
GORELEASER_PREVIOUS_TAG: ${{ steps.release.outputs.prev }}

# Publish CLI / Cloud CLI container images
publish:
Expand Down

0 comments on commit 8bfbbd5

Please sign in to comment.