Skip to content

Commit

Permalink
Fix deprecation errors in goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
evilmarty committed Jun 7, 2024
1 parent e7934bb commit f022f7b
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ builds:
- arm
- arm64
goarm:
- 5
- 6
- 7
- "5"
- "6"
- "7"
ldflags:
- "-s -w -X main.BuildDate={{ .Date }} -X main.Version={{ .Version }}"
archives:
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: binary
brews:
- folder: Formula
- directory: Formula
homepage: "https://github.com/evilmarty/ilc"
description: "A simple way to create a command-line utility."
license: "GPL-3.0"
install: |
bin.install Dir["*"].first => "ilc"
test: |
system "#{bin}/ilc", "--version"
tap:
repository:
owner: evilmarty
name: homebrew-ilc
branch: main
Expand All @@ -42,7 +42,7 @@ release:
owner: evilmarty
name: ilc
checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
algorithm: sha256
snapshot:
name_template: "{{ incpatch .Version }}-devel"
Expand All @@ -51,10 +51,9 @@ changelog:
sort: asc
filters:
exclude:
- 'README'
- '^docs:'
- '^test:'

- "README"
- "^docs:"
- "^test:"
# modelines, 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

0 comments on commit f022f7b

Please sign in to comment.