Skip to content

Commit

Permalink
added go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed Oct 13, 2022
1 parent fc78301 commit 350bba6
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ jobs:
distribution: goreleaser
version: latest
args: release --rm-dist
main: ./cmd/cashu/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38 changes: 38 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
project_name: cashu-feni

builds:
- binary: cashu-feni
main: ./cmd/cashu/
flags:
- -trimpath
goos:
- linux
- darwin
- windows
- freebsd
- openbsd
goarch:
- amd64
- 386
- arm
- arm64
- ppc64le
- s390x
goarm:
- 7
- 6
- 5
ignore:
- goos: darwin
goarch: 386
- goos: openbsd
goarch: arm
- goos: openbsd
goarch: arm64
- goos: freebsd
goarch: arm64
- goos: windows
goarch: arm

checksum:
name_template: "{{ .ProjectName }}_v{{ .Version }}_checksums.txt"

0 comments on commit 350bba6

Please sign in to comment.