Skip to content

Commit

Permalink
Updated release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontes11 committed Aug 25, 2024
1 parent fd1e71a commit 16f5e90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
- name: Fetch tags
run: git fetch --force --tags

- name: Set GORELEASER_PREVIOUS_TAG
run: echo "GORELEASER_PREVIOUS_TAG=$(git tag -l "kubeadm-join-config-*" --sort=-version:refname | head -n 2 | tail -n 1)" >> $GITHUB_ENV

- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: ${{ env.GORELEASER_VERSION }}
args: release
args: release --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 16f5e90

Please sign in to comment.