mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
ci: switches release process to gh actions and goreleaser (#87)
Also preserves coveralls and appveyor. Closes #58
This commit is contained in:
parent
d6315435a3
commit
c41bf3ab9a
6 changed files with 112 additions and 41 deletions
48
.goreleaser.yml
Normal file
48
.goreleaser.yml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue