diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-04-24 14:42:07 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-04-24 14:42:07 +0200 |
commit | 81ecaf83f14cbdc343b0284b57fb454ff813bc03 (patch) | |
tree | 4e801e9654f1d4acf290588cb2b630b54c02c4d5 | |
parent | f786c967722bfbac2fd893130156a097b5a8c3a5 (diff) |
Avoid `go generate` on release
-rw-r--r-- | .goreleaser.yaml | 13 |
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 |