mirror of
https://ghproxy.net/https://github.com/CaptainCore/captaincore.git
synced 2025-10-04 07:10:53 +08:00
📦 NEW: GoReleaser
This commit is contained in:
parent
1f1de09019
commit
a88453c244
3 changed files with 37 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,6 +5,7 @@ config.json
|
||||||
config.sh
|
config.sh
|
||||||
cookies.yaml
|
cookies.yaml
|
||||||
data
|
data
|
||||||
|
dist/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
captaincore
|
captaincore
|
||||||
vendor
|
vendor
|
36
.goreleaser.yml
Normal file
36
.goreleaser.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# This is an example .goreleaser.yml file with some sane defaults.
|
||||||
|
# Make sure to check the documentation at http://goreleaser.com
|
||||||
|
project_name: captaincore
|
||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
# You may remove this if you don't use go modules.
|
||||||
|
- go mod tidy
|
||||||
|
# you may remove this if you don't need go generate
|
||||||
|
- go generate ./...
|
||||||
|
builds:
|
||||||
|
- env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
- darwin
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
- arm
|
||||||
|
- arm64
|
||||||
|
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:'
|
BIN
bin/goreleaser
BIN
bin/goreleaser
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue