aboutsummaryrefslogtreecommitdiff
path: root/.goreleaser.yaml
diff options
context:
space:
mode:
authorishaan <contact@ishaan.cc>2026-07-15 11:36:31 +0530
committerishaan <contact@ishaan.cc>2026-07-15 11:36:31 +0530
commit57cc3b22f8308a44dbd09587c39ba4f790fbcf9d (patch)
treec2dd5bcfe9658129412990b6a2456fa4caf3db25 /.goreleaser.yaml
parentd369e5611df643bd83f951a94b468ef272c1bf3e (diff)
ci: add goreleaser, install script, gitlab ci
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r--.goreleaser.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
new file mode 100644
index 0000000..4974e1b
--- /dev/null
+++ b/.goreleaser.yaml
@@ -0,0 +1,30 @@
+version: 2
+
+before:
+ hooks:
+ - go mod tidy
+
+builds:
+ - main: ./cmd/eno
+ binary: eno
+ goos:
+ - linux
+ - darwin
+ goarch:
+ - amd64
+ - arm64
+ env:
+ - CGO_ENABLED=0
+
+archives:
+ - formats: tar.gz
+ name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
+
+checksum:
+ name_template: checksums.txt
+ algorithm: sha256
+
+release:
+ gitlab:
+ owner: whiteboardguy
+ name: eno