Skip to content

Commit

Permalink
ci: configure changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-held committed May 9, 2020
1 parent c063b24 commit fdcfa9b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
43 changes: 27 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,46 @@
# Make sure to check the documentation at http://goreleaser.com
project_name: dev-env
env:
- GO111MODULE=on
# - GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}

env_files:
github_token: ~/.dotfiles/git/GITHUB_TOKEN

before:
hooks:
- go mod download
- go generate .

builds:
- env:
- CGO_ENABLED=0
- GITHUB_TOKEN=${{ secrets.GH_PAT }}

archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64

#checksum:
# name_template: 'checksums.txt'

checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"


changelog:
skip: false
sort: asc
filters:
# commit messages matching the regexp listed here will be removed from
exclude:
- '^docs:'
- '^test'
- typo
- '^test:'
- Merge pull request
- Merge branch



archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
File renamed without changes.
4 changes: 0 additions & 4 deletions GitVersion.yml

This file was deleted.

6 changes: 0 additions & 6 deletions History.md

This file was deleted.

1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ require (
github.com/thatisuday/commando v1.0.4
gopkg.in/yaml.v2 v2.2.8
)
// github.com/Masterminds/semver v1.5.0

0 comments on commit fdcfa9b

Please sign in to comment.