diff --git a/.gitignore b/.gitignore index 331c58f..3bedfdf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea +dist vendor \ No newline at end of file diff --git a/goreleaser.yml b/goreleaser.yml new file mode 100644 index 0000000..cc992fe --- /dev/null +++ b/goreleaser.yml @@ -0,0 +1,25 @@ +homepage: &homepage https://github.com/gulien/orbit +description: &description A simple tool for running commands and generating files from templates +build: + env: + - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - 386 + - amd64 + - arm + - arm64 +archive: + name_template: '{{ .Binary }}_{{ .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 \ No newline at end of file