mirror of
https://github.com/go-eagle/eagle.git
synced 2025-10-05 16:46:59 +08:00
chore: modify build and other section format
This commit is contained in:
@@ -1,26 +1,31 @@
|
|||||||
# see: https://goreleaser.com/customization/
|
# see: https://goreleaser.com/customization/
|
||||||
|
|
||||||
project_name: snake
|
project_name: snake
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod download
|
- go mod download
|
||||||
#builds:
|
|
||||||
# - main: .
|
builds:
|
||||||
# binary: snake
|
- main: ./mian.go
|
||||||
# goos:
|
binary: snake
|
||||||
# - linux
|
ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}} -X main.commit={{.Commit}}
|
||||||
# - darwin
|
goos:
|
||||||
# - windows
|
- linux
|
||||||
# # amd64 (64-bit x86)
|
- darwin
|
||||||
# # 386 (32-bit x86)
|
- windows
|
||||||
# goarch:
|
goarch:
|
||||||
# - amd64
|
- amd64
|
||||||
# - 386
|
- arm64
|
||||||
# goarm:
|
ignore:
|
||||||
# - "6"
|
- goos: windows
|
||||||
# ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}}
|
goarch: arm64
|
||||||
|
- goos: darwin
|
||||||
|
goarch: arm64
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
@@ -29,24 +34,19 @@ changelog:
|
|||||||
- '^test:'
|
- '^test:'
|
||||||
- Merge pull request
|
- Merge pull request
|
||||||
- Merge branch
|
- Merge branch
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
-
|
- id: snake
|
||||||
# Defaults to `default`.
|
|
||||||
id: snake
|
|
||||||
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
files:
|
files:
|
||||||
- licence*
|
|
||||||
- LICENCE*
|
|
||||||
- license*
|
|
||||||
- LICENSE*
|
- LICENSE*
|
||||||
- readme*
|
|
||||||
- README*
|
- README*
|
||||||
- changelog*
|
|
||||||
- CHANGELOG*
|
- CHANGELOG*
|
||||||
|
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
owner: qloog
|
owner: qloog
|
||||||
|
Reference in New Issue
Block a user