Skip to content

Commit

Permalink
add goreleaser settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sho0126hiro committed Aug 13, 2022
1 parent bd0644f commit 86a67e8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Empty file added .github/workflows/release.yaml
Empty file.
35 changes: 35 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
project_name: auriga
before:
hooks:
- go mod tidy
builds:
- main: ./app/cmd
binary: auriga
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: darwin
linux: linux
windows: windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- docs/*
- README.md
- README_jp.md
- .env.sample
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
release:
prerelease: auto

0 comments on commit 86a67e8

Please sign in to comment.