Skip to content

Commit

Permalink
Ensure config works will latest v1
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Jun 10, 2024
1 parent 2d712d5 commit 616c80f
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
---
sboms:
- artifacts: archive
# 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=0 fo=cnqoj

version: 1

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:
-
env:
- env:
- CGO_ENABLED=0
goarch:
- amd64
Expand All @@ -23,11 +28,14 @@ builds:
- goos: darwin
goarch: arm
- goos: windows
goos:
- linux
- windows
- darwin

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of
# uname.
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
Expand All @@ -39,17 +47,7 @@ archives:
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
skip: true
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

nfpms:
-
id: 'is'
Expand Down Expand Up @@ -77,7 +75,9 @@ nfpms:
- src: 'README.md'
dst: '/usr/share/doc/is/README.md'

# The lines beneath this are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit 616c80f

Please sign in to comment.