Skip to content

Commit

Permalink
add config file for gorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemmy committed Feb 16, 2021
1 parent 9c135db commit db4eaa4
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
# - go mod download
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
env_files:
github_token: /Users/hujiaming/.ssh/tnote_github_token
github_urls:
api: https://github.com/JemmyH/tnote/
upload: https://git.company.com/api/uploads/
download: https://git.company.com/
skip_tls_verify: false

0 comments on commit db4eaa4

Please sign in to comment.