diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index adc7fa4..b75d66d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Binaries Release uses: goreleaser/goreleaser-action@v4.2.0 with: - version: ~> 0.175 + version: ~> 1.16.2 args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index b60efea..66a94f9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,6 +4,8 @@ builds: - CGO_ENABLED=0 ldflags: - -s -w + flags: + - -trimpath goos: - linux - windows