mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-09 14:09:52 +00:00
goreleaser config
This commit is contained in:
parent
346951e9e1
commit
9e2fbb038f
54
.goreleaser.yml
Normal file
54
.goreleaser.yml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
project_name: certimate
|
||||||
|
|
||||||
|
dist: .builds
|
||||||
|
|
||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
- go mod tidy
|
||||||
|
|
||||||
|
builds:
|
||||||
|
- id: build_noncgo
|
||||||
|
main: ./
|
||||||
|
binary: certimate
|
||||||
|
ldflags:
|
||||||
|
- -s -w -X github.com/usual2970/certimate.Version={{ .Version }}
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
- windows
|
||||||
|
- darwin
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
- arm64
|
||||||
|
- arm
|
||||||
|
goarm:
|
||||||
|
- 7
|
||||||
|
ignore:
|
||||||
|
- goos: windows
|
||||||
|
goarch: arm
|
||||||
|
- goos: darwin
|
||||||
|
goarch: arm
|
||||||
|
|
||||||
|
release:
|
||||||
|
draft: true
|
||||||
|
|
||||||
|
archives:
|
||||||
|
- id: archive_noncgo
|
||||||
|
builds: [build_noncgo]
|
||||||
|
format: zip
|
||||||
|
files:
|
||||||
|
- LICENSE.md
|
||||||
|
- CHANGELOG.md
|
||||||
|
|
||||||
|
checksum:
|
||||||
|
name_template: "checksums.txt"
|
||||||
|
|
||||||
|
snapshot:
|
||||||
|
name_template: "{{ incpatch .Version }}-next"
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
sort: asc
|
||||||
|
filters:
|
||||||
|
exclude:
|
||||||
|
- "^ui:"
|
Loading…
x
Reference in New Issue
Block a user