This commit is contained in:
parent
67a576f786
commit
fe5d00730b
|
@ -1,17 +1,25 @@
|
|||
project_name: send2gokapi
|
||||
version: 2
|
||||
|
||||
project:
|
||||
name: send2gokapi
|
||||
|
||||
builds:
|
||||
- main: .
|
||||
goos:
|
||||
- linux
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
- id: send2gokapi
|
||||
goos: [linux, darwin]
|
||||
goarch: [amd64, arm64]
|
||||
dir: .
|
||||
main: ./cmd/myapp
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
||||
archives:
|
||||
- format: zip
|
||||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||
- id: default
|
||||
builds: [send2gokapi]
|
||||
format: tar.gz
|
||||
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
|
||||
files:
|
||||
- LICENSE.txt
|
||||
- README.md
|
||||
|
||||
release:
|
||||
disable: true # We won't create GitHub/Gitea releases directly
|
||||
|
|
Loading…
Reference in a new issue