Skip to content

Commit

Permalink
update go release file
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
  • Loading branch information
viveksahu26 committed Feb 10, 2024
1 parent 060624e commit c5d6a52
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ version: 1
env:
- GO111MODULE=on
- CGO_ENABLED=1
- DOCKER_CLI_EXPERIMENTAL=enabled
- COSIGN_YES=true
- LATEST_TAG=,latest

before:
hooks:
Expand All @@ -31,6 +28,8 @@ sboms:
builds:
- id: linux
no_unique_dist_dir: true
ldflags:
- "{{ .Env.LDFLAGS }}"
env:
- CGO_ENABLED=0
goos:
Expand Down Expand Up @@ -60,7 +59,7 @@ builds:


archives:
- format: binary
- format: tar.gz
name_template: "{{ .Binary }}"
allow_different_binary_count: true

Expand All @@ -77,6 +76,9 @@ changelog:
exclude:
- '^docs:'
- '^test:'
- 'README'
- Merge pull request
- Merge branch

nfpms:
- id: url_shortner
Expand Down

0 comments on commit c5d6a52

Please sign in to comment.