| 1 |
--- |
| 2 |
version: 2 |
| 3 |
project_name: fzf |
| 4 |
|
| 5 |
before: |
| 6 |
hooks: |
| 7 |
- go mod download |
| 8 |
|
| 9 |
builds: |
| 10 |
- id: fzf |
| 11 |
goos: |
| 12 |
- darwin |
| 13 |
- linux |
| 14 |
- windows |
| 15 |
- freebsd |
| 16 |
- openbsd |
| 17 |
- android |
| 18 |
goarch: |
| 19 |
- amd64 |
| 20 |
- arm |
| 21 |
- arm64 |
| 22 |
- loong64 |
| 23 |
- ppc64le |
| 24 |
- s390x |
| 25 |
- riscv64 |
| 26 |
goarm: |
| 27 |
- "5" |
| 28 |
- "6" |
| 29 |
- "7" |
| 30 |
flags: |
| 31 |
- -trimpath |
| 32 |
ldflags: |
| 33 |
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}" |
| 34 |
ignore: |
| 35 |
- goos: freebsd |
| 36 |
goarch: arm |
| 37 |
- goos: openbsd |
| 38 |
goarch: arm |
| 39 |
- goos: freebsd |
| 40 |
goarch: arm64 |
| 41 |
- goos: openbsd |
| 42 |
goarch: arm64 |
| 43 |
- goos: openbsd |
| 44 |
goarch: riscv64 |
| 45 |
- goos: android |
| 46 |
goarch: amd64 |
| 47 |
- goos: android |
| 48 |
goarch: arm |
| 49 |
|
| 50 |
# .goreleaser.yaml |
| 51 |
notarize: |
| 52 |
macos: |
| 53 |
- # Whether this configuration is enabled or not. |
| 54 |
# |
| 55 |
# Default: false. |
| 56 |
# Templates: allowed. |
| 57 |
enabled: "{{ not .IsSnapshot }}" |
| 58 |
|
| 59 |
# Before notarizing, we need to sign the binary. |
| 60 |
# This blocks defines the configuration for doing so. |
| 61 |
sign: |
| 62 |
# The .p12 certificate file path or its base64'd contents. |
| 63 |
certificate: "{{.Env.MACOS_SIGN_P12}}" |
| 64 |
|
| 65 |
# The password to be used to open the certificate. |
| 66 |
password: "{{.Env.MACOS_SIGN_PASSWORD}}" |
| 67 |
|
| 68 |
# Then, we notarize the binaries. |
| 69 |
notarize: |
| 70 |
# The issuer ID. |
| 71 |
# Its the UUID you see when creating the App Store Connect key. |
| 72 |
issuer_id: "{{.Env.MACOS_NOTARY_ISSUER_ID}}" |
| 73 |
|
| 74 |
# Key ID. |
| 75 |
# You can see it in the list of App Store Connect Keys. |
| 76 |
# It will also be in the ApiKey filename. |
| 77 |
key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}" |
| 78 |
|
| 79 |
# The .p8 key file path or its base64'd contents. |
| 80 |
key: "{{.Env.MACOS_NOTARY_KEY}}" |
| 81 |
|
| 82 |
# Whether to wait for the notarization to finish. |
| 83 |
# Not recommended, as it could take a really long time. |
| 84 |
wait: true |
| 85 |
|
| 86 |
archives: |
| 87 |
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
| 88 |
ids: |
| 89 |
- fzf |
| 90 |
formats: |
| 91 |
- tar.gz |
| 92 |
format_overrides: |
| 93 |
- goos: windows |
| 94 |
formats: |
| 95 |
- zip |
| 96 |
files: |
| 97 |
- non-existent* |
| 98 |
|
| 99 |
nfpms: |
| 100 |
- package_name: fzf |
| 101 |
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
| 102 |
vendor: junegunn |
| 103 |
homepage: https://github.com/junegunn/fzf |
| 104 |
maintainer: Junegunn Choi <[email protected]> |
| 105 |
description: Command-line fuzzy finder |
| 106 |
license: MIT |
| 107 |
section: utils |
| 108 |
formats: |
| 109 |
- deb |
| 110 |
ids: |
| 111 |
- fzf |
| 112 |
contents: |
| 113 |
- src: man/man1/fzf.1 |
| 114 |
dst: /usr/share/man/man1/fzf.1 |
| 115 |
- src: LICENSE |
| 116 |
dst: /usr/share/doc/fzf/copyright |
| 117 |
|
| 118 |
release: |
| 119 |
github: |
| 120 |
owner: junegunn |
| 121 |
name: fzf |
| 122 |
prerelease: auto |
| 123 |
name_template: '{{ .Version }}' |
| 124 |
|
| 125 |
snapshot: |
| 126 |
version_template: "{{ .Version }}-devel" |
| 127 |
|
| 128 |
changelog: |
| 129 |
sort: asc |
| 130 |
filters: |
| 131 |
exclude: |
| 132 |
- README |
| 133 |
- test |