diff --git a/.gitignore b/.gitignore index 2edbf57..0b821f2 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,7 @@ # Dependency directories (remove the comment below to include it) # vendor/ + +dist/ + +.env \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..f8add27 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,32 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + - go mod download +builds: + - main: ./gittie.go + binary: gittie + goos: + - linux + - darwin + - windows +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + format_overrides: + - goos: windows + format: zip +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: '{{ .Tag }}-next' +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'