diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e1819a..126b0e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: uses: goreleaser/goreleaser-action@v2.5.0 with: version: latest - args: release --rm-dist + args: release -f .goreleaser.yml --rm-dist env: # GitHub sets this automatically GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index fb3b806..de14088 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,7 +6,7 @@ before: builds: - env: - CGO_ENABLED=0 - main: ./cmd/main.go + main: ./cmd mod_timestamp: '{{ .CommitTimestamp }}' flags: - -trimpath