summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-24 14:42:07 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-24 14:42:07 +0200
commit81ecaf83f14cbdc343b0284b57fb454ff813bc03 (patch)
tree4e801e9654f1d4acf290588cb2b630b54c02c4d5
parentf786c967722bfbac2fd893130156a097b5a8c3a5 (diff)
Avoid `go generate` on release
-rw-r--r--.goreleaser.yaml13
1 files changed, 2 insertions, 11 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 58dd3ce..c921371 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -1,19 +1,10 @@
-# 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=2 fo=cnqoj
-
version: 2
+project_name: rahanna
+
before:
hooks:
- # You may remove this if you don't use go modules.
- go mod tidy
- # you may remove this if you don't need go generate
- - go generate ./...
builds:
- id: api