diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91ba016..537fbf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.21 - @@ -21,6 +24,6 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}