.goreleaser.yml
This file
Path
.goreleaser.yml
133 lines · 2.9 KiB · YAML
Last changed by
Publish .deb package for each releaseJunegunn Choibefore adoptionb9cbe3a
History of this fileTake it
The walk stopped after 200 commits: lines older than 76efddd point at it.
bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd
lines 1–98why, one step back1---2version: 23project_name: fzf45before:6 hooks:7 - go mod download89builds:10 - id: fzf11 goos:12 - darwin13 - linux14 - windows15 - freebsd16 - openbsd17 - android18 goarch:19 - amd6420 - arm21 - arm6422 - loong6423 - ppc64le24 - s390x25 - riscv6426 goarm:27 - "5"28 - "6"29 - "7"30 flags:31 - -trimpath32 ldflags:33 - "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"34 ignore:35 - goos: freebsd36 goarch: arm37 - goos: openbsd38 goarch: arm39 - goos: freebsd40 goarch: arm6441 - goos: openbsd42 goarch: arm6443 - goos: openbsd44 goarch: riscv6445 - goos: android46 goarch: amd6447 - goos: android48 goarch: arm4950# .goreleaser.yaml51notarize:52 macos:53 - # Whether this configuration is enabled or not.54 #55 # Default: false.56 # Templates: allowed.57 enabled: "{{ not .IsSnapshot }}"5859 # 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}}"6465 # The password to be used to open the certificate.66 password: "{{.Env.MACOS_SIGN_PASSWORD}}"6768 # 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}}"7374 # 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}}"7879 # The .p8 key file path or its base64'd contents.80 key: "{{.Env.MACOS_NOTARY_KEY}}"8182 # Whether to wait for the notarization to finish.83 # Not recommended, as it could take a really long time.84 wait: true8586archives:87 - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"88 ids:89 - fzf90 formats:91 - tar.gz92 format_overrides:93 - goos: windows94 formats:95 - zip96 files:97 - non-existent*98Publish .deb package for each releaseJunegunn Choibefore adoptionb9cbe3a
lines 99–117why, one step back99nfpms:100 - package_name: fzf101 file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"102 vendor: junegunn103 homepage: https://github.com/junegunn/fzf104 maintainer: Junegunn Choi <junegunn.c@gmail.com>105 description: Command-line fuzzy finder106 license: MIT107 section: utils108 formats:109 - deb110 ids:111 - fzf112 contents:113 - src: man/man1/fzf.1114 dst: /usr/share/man/man1/fzf.1115 - src: LICENSE116 dst: /usr/share/doc/fzf/copyright117bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd
lines 118–133why, one step back118release:119 github:120 owner: junegunn121 name: fzf122 prerelease: auto123 name_template: '{{ .Version }}'124125snapshot:126 version_template: "{{ .Version }}-devel"127128changelog:129 sort: asc130 filters:131 exclude:132 - README133 - test