Skip to content

vendor dependencies

vendor dependencies #3

Workflow file for this run

project_name: agentexec
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- "386"
ignore:
- goos: darwin
goarch: "386"
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- -s -w
- -X agentexec/pkg/version.Version={{.Version}}
- -X agentexec/pkg/version.Commit={{.Commit}}
- -X agentexec/pkg/version.BuildTime={{.Date}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
files:
- README*
- LICENSE*
- CHANGELOG.md
- .env.example
nfpms:
- package_name: agentexec
homepage: https://github.com/drengskapur/agentexec
maintainer: Drengskapur <[email protected]>
description: AgentExec CLI tool
license: MIT
formats:
- deb
- rpm
bindir: /usr/local/bin
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- '^chore:'
- Merge pull request
- Merge branch
release:
prerelease: auto
draft: false
name_template: "Release {{.Version}}"