diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..eefb3bd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +on: + push: + tags: + - "v*" +name: CI +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@master + - name: goreleaser + uses: docker://goreleaser/goreleaser:latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + args: release + if: success() diff --git a/.goreleaser.yml b/.goreleaser.yml index a254281..bcc945c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,9 +4,7 @@ builds: goos: - linux - darwin - - freebsd - windows - - android goarch: - 386 - amd64 @@ -15,10 +13,10 @@ builds: goarm: - 6 - 7 -checksum: - name_template: "checksums.txt" -snapshot: - name_template: "{{ .Tag }}-next" +archives: + - format: gz + files: + - none* changelog: sort: asc filters: