From 719f476e856240708c24a2f1fa2e6fc82149a344 Mon Sep 17 00:00:00 2001 From: "F. Talha Altinel" Date: Mon, 23 Dec 2024 23:56:59 +0000 Subject: [PATCH] go releaser config --- .github/workflows/releaser.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/releaser.yaml b/.github/workflows/releaser.yaml index 9b44617..fea00c0 100644 --- a/.github/workflows/releaser.yaml +++ b/.github/workflows/releaser.yaml @@ -10,24 +10,21 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: 1.23 - - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Fetch all tags - run: git fetch --force --tags + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: 1.23 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest - args: release --rm-dist + version: '~> v2' + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file