Skip to content

Commit

Permalink
goreleaser: fix deprecations, drop 32bit bins and rpm/deb packages fo…
Browse files Browse the repository at this point in the history
…r expediency
  • Loading branch information
joemiller committed Nov 30, 2023
1 parent 8a4d5cb commit 721ed0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
30 changes: 1 addition & 29 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ builds:
# - dragonfly
# - netbsd
goarch:
- 386
- amd64
- arm
- arm64
Expand All @@ -37,8 +36,6 @@ archives:
# archive releases containing: binary, readme, and license. tarballs (macos, linux), zip (windows)
- id: archives
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
replacements:
386: i386
format_overrides:
- goos: windows
format: zip
Expand All @@ -63,7 +60,7 @@ changelog:
brews:
- ids:
- archives
tap:
repository:
owner: joemiller
name: homebrew-taps
commit_author:
Expand Down Expand Up @@ -109,28 +106,3 @@ dockers:
- "joemiller/certin:v{{ .Major }}-arm" # v1
- "joemiller/certin:v{{ .Major }}.{{ .Minor }}-arm" # v1.0
- "joemiller/certin:latest-arm"

# ## generate RPM and DEB packages
nfpms:
- id: certin
vendor: "Joe Miller"
homepage: "https://github.com/joemiller/certin"
maintainer: "certin@joemiller.me"
description: "Certin is a Go library and CLI for quickly creating keys and certificates for use as test fixtures."
license: MIT
formats:
- deb
- rpm
overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
replacements:
amd64: x86_64
386: i686
arm: armhfp
arm64: aarch64
deb:
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
386: i386
arm: armel
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ build:
release:
@goreleaser $(GORELEASER_ARGS)

snapshot: GORELEASER_ARGS= --rm-dist --snapshot
snapshot: GORELEASER_ARGS= --clean --snapshot
snapshot: release

todo:
Expand Down

0 comments on commit 721ed0d

Please sign in to comment.