From 81ecaf83f14cbdc343b0284b57fb454ff813bc03 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 24 Apr 2025 14:42:07 +0200 Subject: Avoid `go generate` on release --- .goreleaser.yaml | 13 ++----------- 1 file 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 -- cgit v1.2.3-18-g5258