ci: switches release process to gh actions and goreleaser (#87)

Also preserves coveralls and appveyor. Closes #58
This commit is contained in:
Manuel Vogel 2021-01-16 06:48:01 +01:00 committed by GitHub
parent d6315435a3
commit c41bf3ab9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 112 additions and 41 deletions

48
.goreleaser.yml Normal file
View file

@ -0,0 +1,48 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: git-chglog
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- dir: cmd/git-chglog
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 6
archives:
- format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
snapshot:
name_template: "{{ .Tag }}-next"
brews:
- tap:
owner: git-chglog
name: homebrew-git-chglog
homepage: "https://godoc.org/github.com/git-chglog/git-chglog"
description: "CHANGELOG generator implemented in Go (Golang)."
test: |
system "#{bin}/git-chglog --help"
install: |
bin.install "git-chglog"