mirror of
https://github.com/junegunn/fzf.git
synced 2024-08-17 02:10:23 +03:00
125 lines
2.5 KiB
YAML
125 lines
2.5 KiB
YAML
---
|
|
project_name: fzf
|
|
|
|
before:
|
|
hooks:
|
|
- go mod download
|
|
|
|
builds:
|
|
- id: fzf-macos
|
|
binary: fzf
|
|
goos:
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
|
|
hooks:
|
|
post: |
|
|
sh -c '
|
|
cat > /tmp/fzf-gon-amd64.hcl << EOF
|
|
source = ["./dist/fzf-macos_darwin_amd64_v1/fzf"]
|
|
bundle_id = "junegunn.fzf"
|
|
sign {
|
|
application_identity = "Developer ID Application: Junegunn Choi (Y254DRW44Z)"
|
|
}
|
|
zip {
|
|
output_path = "./dist/fzf-{{ .Version }}-darwin_amd64.zip"
|
|
}
|
|
EOF
|
|
gon /tmp/fzf-gon-amd64.hcl
|
|
'
|
|
|
|
- id: fzf-macos-arm
|
|
binary: fzf
|
|
goos:
|
|
- darwin
|
|
goarch:
|
|
- arm64
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
|
|
hooks:
|
|
post: |
|
|
sh -c '
|
|
cat > /tmp/fzf-gon-arm64.hcl << EOF
|
|
source = ["./dist/fzf-macos-arm_darwin_arm64/fzf"]
|
|
bundle_id = "junegunn.fzf"
|
|
sign {
|
|
application_identity = "Developer ID Application: Junegunn Choi (Y254DRW44Z)"
|
|
}
|
|
zip {
|
|
output_path = "./dist/fzf-{{ .Version }}-darwin_arm64.zip"
|
|
}
|
|
EOF
|
|
gon /tmp/fzf-gon-arm64.hcl
|
|
'
|
|
|
|
- id: fzf
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- freebsd
|
|
- openbsd
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- loong64
|
|
- ppc64le
|
|
- s390x
|
|
goarm:
|
|
- 5
|
|
- 6
|
|
- 7
|
|
flags:
|
|
- -trimpath
|
|
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
|
|
|
|
archives:
|
|
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
|
builds:
|
|
- fzf
|
|
format: tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- non-existent*
|
|
|
|
checksum:
|
|
extra_files:
|
|
- glob: ./dist/fzf-*darwin*.zip
|
|
|
|
release:
|
|
github:
|
|
owner: junegunn
|
|
name: fzf
|
|
prerelease: auto
|
|
name_template: '{{ .Tag }}'
|
|
extra_files:
|
|
- glob: ./dist/fzf-*darwin*.zip
|
|
|
|
snapshot:
|
|
name_template: "{{ .Tag }}-devel"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- README
|
|
- test
|