diff --git a/.github/goreleaser.yaml b/.github/goreleaser.yaml index d9d407d..736f0b6 100644 --- a/.github/goreleaser.yaml +++ b/.github/goreleaser.yaml @@ -4,6 +4,7 @@ version: 2 before: hooks: - go mod tidy + - go generate ./... builds: - main: ./cmd @@ -12,14 +13,14 @@ builds: - CGO_ENABLED=0 goos: - linux - - darwin + # - darwin goarch: - amd64 - - arm64 - - arm - goarm: - - 6 - - 7 + # - arm64 + # - arm + # goarm: + # - 6 + # - 7 gomod: proxy: true diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index b764610..4b44ce9 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -40,7 +40,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: latest - args: release --draft --skip validate --skip publish --clean --config .github/goreleaser.yaml --verbose + version: '~> v2' + args: release --version env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.gitignore b/.gitignore index fe4ff4a..8edbbed 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ build/* *.json # gorelease local Leftovers -dist/* \ No newline at end of file +dist/* +dist/