mirror of
https://github.com/Direct-Dev-Ru/go-lcg.git
synced 2025-11-16 17:49:55 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e6042aa45 | |||
| ae01be178b | |||
| 8e2e995d50 |
@@ -1,32 +0,0 @@
|
|||||||
# Goreleaser configuration version 2
|
|
||||||
version: 2
|
|
||||||
|
|
||||||
builds:
|
|
||||||
- id: lcg
|
|
||||||
binary: "lcg_{{ .Version }}"
|
|
||||||
goos:
|
|
||||||
- linux
|
|
||||||
- windows
|
|
||||||
- darwin
|
|
||||||
goarch:
|
|
||||||
- amd64
|
|
||||||
- arm64
|
|
||||||
env:
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
ldflags:
|
|
||||||
- -s -w
|
|
||||||
- -X main.version={{.Version}}
|
|
||||||
- -X main.commit={{.Commit}}
|
|
||||||
- -X main.date={{.Date}}
|
|
||||||
main: .
|
|
||||||
dir: .
|
|
||||||
|
|
||||||
archives:
|
|
||||||
- id: lcg
|
|
||||||
ids:
|
|
||||||
- lcg
|
|
||||||
formats:
|
|
||||||
- binary
|
|
||||||
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
|
|
||||||
files:
|
|
||||||
- "lcg_{{ .Version }}"
|
|
||||||
Reference in New Issue
Block a user