Skip to content

Commit

Permalink
chore: fix goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Penner <[email protected]>
  • Loading branch information
matthewpi committed May 20, 2024
1 parent 448521c commit 35733a6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 1

before:
hooks:
- go mod tidy
- /bin/bash -c 'if [ -n "$(git --no-pager diff --exit-code go.mod go.sum)" ]; then exit 1; fi'

metadata:
mod_timestamp: "{{ .CommitTimestamp }}"

report_sizes: true

builds:
- main: ./cmd
- dir: ./cmd
main: .
binary: caddy-gateway
env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -74,9 +80,6 @@ docker_signs:
release:
draft: true
prerelease: auto
github:
owner: caddyserver
name: gateway

changelog:
use: github
Expand Down

0 comments on commit 35733a6

Please sign in to comment.