Skip to content

Commit

Permalink
added goreleaser (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman authored Oct 21, 2022
1 parent 2ac9697 commit b3f28ab
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
images/*
out/
dist/
31 changes: 31 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/stego
binary: stego
ldflags:
- -s -w -X "github.com/enrichman/stegosecrets/internal/cli.Version={{ .Version }}"
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Version }}-{{ .Summary }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit b3f28ab

Please sign in to comment.