Skip to content

Commit 16f5e90

Browse files
committed
Updated release workflow
1 parent fd1e71a commit 16f5e90

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ jobs:
2121
- name: Fetch tags
2222
run: git fetch --force --tags
2323

24+
- name: Set GORELEASER_PREVIOUS_TAG
25+
run: echo "GORELEASER_PREVIOUS_TAG=$(git tag -l "kubeadm-join-config-*" --sort=-version:refname | head -n 2 | tail -n 1)" >> $GITHUB_ENV
26+
2427
- name: GoReleaser
2528
uses: goreleaser/goreleaser-action@v6
2629
with:
2730
version: ${{ env.GORELEASER_VERSION }}
28-
args: release
31+
args: release --skip=validate
2932
env:
3033
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)