Skip to content

Commit

Permalink
feat: add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed Sep 6, 2024
1 parent 283f19e commit 7fb0f36
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Empty file added .github/workflows/release.yml
Empty file.
26 changes: 26 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com

# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

before:
hooks:
- go mod tidy

builds:
- main: ./cmd/slick/main.go
binary: slick
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64

0 comments on commit 7fb0f36

Please sign in to comment.