From 017c47e3e463573225f58e43908adcf8e368cac6 Mon Sep 17 00:00:00 2001 From: qloog Date: Sat, 6 May 2023 15:13:59 +0800 Subject: [PATCH] fix(ci): test release --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 58c597555d..c4dc16f0d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Unshallow - run: git fetch --prune --unshallow + - name: Git fetch + run: git fetch --force --tags - name: Set up Go uses: actions/setup-go@v4 @@ -29,6 +29,8 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: + distribution: goreleaser version: ${{ github.ref_name }} + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }} \ No newline at end of file