Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanagustin committed Nov 23, 2024
1 parent 5e13afe commit a3a7524
Show file tree
Hide file tree
Showing 11 changed files with 804 additions and 665 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/.goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
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}}"
Loading

0 comments on commit a3a7524

Please sign in to comment.