2020-10-26 16:46:43 +00:00
|
|
|
---
|
|
|
|
project_name: fzf
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
|
|
|
|
builds:
|
|
|
|
- id: fzf-macos
|
|
|
|
binary: fzf
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-04-06 09:09:06 +00:00
|
|
|
ldflags:
|
|
|
|
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
|
2021-04-10 05:19:19 +00:00
|
|
|
hooks:
|
|
|
|
post: |
|
|
|
|
sh -c '
|
|
|
|
cat > /tmp/fzf-gon-amd64.hcl << EOF
|
2022-07-21 13:46:34 +00:00
|
|
|
source = ["./dist/fzf-macos_darwin_amd64_v1/fzf"]
|
2021-04-10 05:19:19 +00:00
|
|
|
bundle_id = "kr.junegunn.fzf"
|
|
|
|
apple_id {
|
|
|
|
username = "junegunn.c@gmail.com"
|
|
|
|
password = "@env:AC_PASSWORD"
|
|
|
|
}
|
|
|
|
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
|
|
|
|
'
|
2021-04-06 09:09:06 +00:00
|
|
|
|
|
|
|
- id: fzf-macos-arm
|
|
|
|
binary: fzf
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
goarch:
|
2021-02-25 12:31:15 +00:00
|
|
|
- arm64
|
2020-10-26 16:46:43 +00:00
|
|
|
ldflags:
|
|
|
|
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
|
2021-04-10 05:19:19 +00:00
|
|
|
hooks:
|
|
|
|
post: |
|
|
|
|
sh -c '
|
|
|
|
cat > /tmp/fzf-gon-arm64.hcl << EOF
|
|
|
|
source = ["./dist/fzf-macos-arm_darwin_arm64/fzf"]
|
|
|
|
bundle_id = "kr.junegunn.fzf"
|
|
|
|
apple_id {
|
|
|
|
username = "junegunn.c@gmail.com"
|
|
|
|
password = "@env:AC_PASSWORD"
|
|
|
|
}
|
|
|
|
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
|
|
|
|
'
|
2020-10-26 16:46:43 +00:00
|
|
|
|
2021-04-06 09:09:06 +00:00
|
|
|
- id: fzf
|
|
|
|
goos:
|
2020-10-26 16:46:43 +00:00
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- freebsd
|
|
|
|
- openbsd
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
goarm:
|
|
|
|
- 5
|
|
|
|
- 6
|
|
|
|
- 7
|
|
|
|
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 }}"
|
2021-04-06 09:09:06 +00:00
|
|
|
builds:
|
|
|
|
- fzf
|
2020-10-26 16:46:43 +00:00
|
|
|
format: tar.gz
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
files:
|
|
|
|
- non-existent*
|
|
|
|
|
2022-10-16 13:06:40 +00:00
|
|
|
checksum:
|
|
|
|
extra_files:
|
|
|
|
- glob: ./dist/fzf-*darwin*.zip
|
|
|
|
|
2020-10-26 16:46:43 +00:00
|
|
|
release:
|
|
|
|
github:
|
|
|
|
owner: junegunn
|
|
|
|
name: fzf
|
|
|
|
prerelease: auto
|
|
|
|
name_template: '{{ .Tag }}'
|
2021-04-06 09:09:06 +00:00
|
|
|
extra_files:
|
|
|
|
- glob: ./dist/fzf-*darwin*.zip
|
2020-10-26 16:46:43 +00:00
|
|
|
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-devel"
|
|
|
|
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- README
|
|
|
|
- test
|