Files
fzf/.goreleaser.yml
T

133 lines
2.9 KiB
YAML
Raw Normal View History

2020-10-27 01:46:43 +09:00
---
2024-07-25 22:35:29 +09:00
version: 2
2020-10-27 01:46:43 +09:00
project_name: fzf
before:
hooks:
- go mod download
builds:
2021-04-06 18:09:06 +09:00
- id: fzf
goos:
2024-07-25 22:35:29 +09:00
- darwin
2020-10-27 01:46:43 +09:00
- linux
- windows
- freebsd
- openbsd
- android
2020-10-27 01:46:43 +09:00
goarch:
- amd64
- arm
- arm64
2022-11-12 00:57:33 +09:00
- loong64
2022-11-30 13:20:05 +01:00
- ppc64le
2023-02-22 13:32:52 +09:00
- s390x
2025-11-16 20:02:39 +09:00
- riscv64
2020-10-27 01:46:43 +09:00
goarm:
- "5"
- "6"
- "7"
2024-04-23 17:24:50 +09:00
flags:
- -trimpath
2020-10-27 01:46:43 +09:00
ldflags:
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
ignore:
- goos: freebsd
goarch: arm
- goos: openbsd
goarch: arm
- goos: freebsd
goarch: arm64
- goos: openbsd
goarch: arm64
2025-11-16 20:02:39 +09:00
- goos: openbsd
goarch: riscv64
- goos: android
goarch: amd64
- goos: android
goarch: arm
2020-10-27 01:46:43 +09:00
2024-07-25 22:35:29 +09:00
# .goreleaser.yaml
notarize:
macos:
- # Whether this configuration is enabled or not.
#
# Default: false.
# Templates: allowed.
enabled: "{{ not .IsSnapshot }}"
# Before notarizing, we need to sign the binary.
# This blocks defines the configuration for doing so.
sign:
# The .p12 certificate file path or its base64'd contents.
certificate: "{{.Env.MACOS_SIGN_P12}}"
# The password to be used to open the certificate.
password: "{{.Env.MACOS_SIGN_PASSWORD}}"
# Then, we notarize the binaries.
notarize:
# The issuer ID.
# Its the UUID you see when creating the App Store Connect key.
issuer_id: "{{.Env.MACOS_NOTARY_ISSUER_ID}}"
# Key ID.
# You can see it in the list of App Store Connect Keys.
# It will also be in the ApiKey filename.
key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}"
# The .p8 key file path or its base64'd contents.
key: "{{.Env.MACOS_NOTARY_KEY}}"
# Whether to wait for the notarization to finish.
# Not recommended, as it could take a really long time.
wait: true
2020-10-27 01:46:43 +09:00
archives:
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
2025-12-24 00:57:43 +01:00
ids:
2021-04-06 18:09:06 +09:00
- fzf
2025-12-24 00:57:43 +01:00
formats:
- tar.gz
2020-10-27 01:46:43 +09:00
format_overrides:
- goos: windows
2025-12-24 00:57:43 +01:00
formats:
- zip
2020-10-27 01:46:43 +09:00
files:
- non-existent*
2026-07-17 10:57:38 +09:00
nfpms:
- package_name: fzf
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
vendor: junegunn
homepage: https://github.com/junegunn/fzf
maintainer: Junegunn Choi <junegunn.c@gmail.com>
description: Command-line fuzzy finder
license: MIT
section: utils
formats:
- deb
ids:
- fzf
contents:
- src: man/man1/fzf.1
dst: /usr/share/man/man1/fzf.1
- src: LICENSE
dst: /usr/share/doc/fzf/copyright
2020-10-27 01:46:43 +09:00
release:
github:
owner: junegunn
name: fzf
prerelease: auto
2024-07-07 16:30:23 +09:00
name_template: '{{ .Version }}'
2020-10-27 01:46:43 +09:00
snapshot:
2025-12-24 00:57:43 +01:00
version_template: "{{ .Version }}-devel"
2020-10-27 01:46:43 +09:00
changelog:
sort: asc
filters:
exclude:
- README
- test