mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
40 lines
657 B
YAML
40 lines
657 B
YAML
project_name: pingbot
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
|
|
binary: '{{ .ProjectName }}.out'
|
|
|
|
ldflags:
|
|
- -s -w
|
|
- -X gitlab.com/gaming0skar123/go/pingbot/config.Version={{.RawVersion}}
|
|
- -X gitlab.com/gaming0skar123/go/pingbot/config.Build={{.Date}}
|
|
|
|
archives:
|
|
- format: tar.xz
|
|
|
|
files:
|
|
- schema.env
|
|
- config.schema.toml
|
|
- README.md
|
|
- LICENSE
|
|
- start.sh
|
|
|
|
checksum:
|
|
name_template: 'md5_checksums.txt'
|
|
|
|
algorithm: md5
|
|
|
|
signs:
|
|
- cmd: gpg2
|
|
|
|
args: ["--output", "${signature}", "${artifact}", "{{ .ProjectName }}"]
|
|
|
|
artifacts: all
|