diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0ca5e3..378c0f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,6 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release env: GITHUB_TOKEN: ${{ secrets.TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 3a3c295..ec1114c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod tidy @@ -16,8 +17,16 @@ builds: - "386" goarm: - "6" -brews: - - tap: - owner: codeskyblue - name: homebrew-tap - folder: Formula + +archives: + - format: tar.gz + # use zip for windows archives + format_overrides: + - goos: windows + format: zip + +# brews: +# - tap: +# owner: codeskyblue +# name: homebrew-tap +# folder: Formula