Skip to content

Commit

Permalink
Fix packages name and binary in the packages (#1734)
Browse files Browse the repository at this point in the history
* revert back to use "{{ .ConventionalFileName }}" instead of  "{{ .PackageName }}"

Signed-off-by: cpanato <ctadeu@gmail.com>

* create symlink to cosign for packages

Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Apr 11, 2022
1 parent a172932 commit de85b7e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,24 +206,22 @@ signs:
nfpms:
- id: cosign
package_name: cosign
file_name_template: "{{ .PackageName }}"
file_name_template: "{{ .ConventionalFileName }}"
vendor: Sigstore
homepage: https://sigstore.dev
maintainer: Sigstore Authors 86837369+sigstore-bot@users.noreply.github.com
builds:
- linux
- linux-pivkey-pkcs11key-amd64
description: Container Signing, Verification and Storage in an OCI registry.
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
linux: Tux
license: "Apache License 2.0"
formats:
- apk
- deb
- rpm
contents:
- src: /usr/bin/cosign-linux-{{ .Arch }}
dst: /usr/bin/cosign
type: "symlink"

archives:
- format: binary
Expand Down

0 comments on commit de85b7e

Please sign in to comment.