diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6bf102..b93eaea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,8 @@ name: Release -on: [ release ] +on: + push: + tags: + - 'v*' jobs: test: runs-on: ubuntu-latest diff --git a/.goreleaser.yml b/.goreleaser.yml index a5a0e2e..944e32f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ builds: - freebsd goarch: - amd64 - - i386 + - 386 - arm64 ldflags: - -extldflags "-static" -s -w -X "main.version={{.Version}}" -X "main.commit={{.Commit}}" -X "main.date={{.Date}}"