Skip to content

Commit b896e0d

Browse files
committed
0.54.2
1 parent 559fb7e commit b896e0d

File tree

6 files changed

+54
-64
lines changed

6 files changed

+54
-64
lines changed

.goreleaser.yml

+38-58
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,15 @@
11
---
2+
version: 2
23
project_name: fzf
34

45
before:
56
hooks:
67
- go mod download
78

89
builds:
9-
- id: fzf-macos
10-
binary: fzf
11-
goos:
12-
- darwin
13-
goarch:
14-
- amd64
15-
flags:
16-
- -trimpath
17-
ldflags:
18-
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
19-
hooks:
20-
post: |
21-
sh -c '
22-
cat > /tmp/fzf-gon-amd64.hcl << EOF
23-
source = ["./dist/fzf-macos_darwin_amd64_v1/fzf"]
24-
bundle_id = "junegunn.fzf"
25-
sign {
26-
application_identity = "Developer ID Application: Junegunn Choi (Y254DRW44Z)"
27-
}
28-
zip {
29-
output_path = "./dist/fzf-{{ .Version }}-darwin_amd64.zip"
30-
}
31-
EOF
32-
gon /tmp/fzf-gon-amd64.hcl
33-
'
34-
35-
- id: fzf-macos-arm
36-
binary: fzf
37-
goos:
38-
- darwin
39-
goarch:
40-
- arm64
41-
flags:
42-
- -trimpath
43-
ldflags:
44-
- "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}"
45-
hooks:
46-
post: |
47-
sh -c '
48-
cat > /tmp/fzf-gon-arm64.hcl << EOF
49-
source = ["./dist/fzf-macos-arm_darwin_arm64/fzf"]
50-
bundle_id = "junegunn.fzf"
51-
sign {
52-
application_identity = "Developer ID Application: Junegunn Choi (Y254DRW44Z)"
53-
}
54-
zip {
55-
output_path = "./dist/fzf-{{ .Version }}-darwin_arm64.zip"
56-
}
57-
EOF
58-
gon /tmp/fzf-gon-arm64.hcl
59-
'
60-
6110
- id: fzf
6211
goos:
12+
- darwin
6313
- linux
6414
- windows
6515
- freebsd
@@ -89,6 +39,42 @@ builds:
8939
- goos: openbsd
9040
goarch: arm64
9141

42+
# .goreleaser.yaml
43+
notarize:
44+
macos:
45+
- # Whether this configuration is enabled or not.
46+
#
47+
# Default: false.
48+
# Templates: allowed.
49+
enabled: "{{ not .IsSnapshot }}"
50+
51+
# Before notarizing, we need to sign the binary.
52+
# This blocks defines the configuration for doing so.
53+
sign:
54+
# The .p12 certificate file path or its base64'd contents.
55+
certificate: "{{.Env.MACOS_SIGN_P12}}"
56+
57+
# The password to be used to open the certificate.
58+
password: "{{.Env.MACOS_SIGN_PASSWORD}}"
59+
60+
# Then, we notarize the binaries.
61+
notarize:
62+
# The issuer ID.
63+
# Its the UUID you see when creating the App Store Connect key.
64+
issuer_id: "{{.Env.MACOS_NOTARY_ISSUER_ID}}"
65+
66+
# Key ID.
67+
# You can see it in the list of App Store Connect Keys.
68+
# It will also be in the ApiKey filename.
69+
key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}"
70+
71+
# The .p8 key file path or its base64'd contents.
72+
key: "{{.Env.MACOS_NOTARY_KEY}}"
73+
74+
# Whether to wait for the notarization to finish.
75+
# Not recommended, as it could take a really long time.
76+
wait: true
77+
9278
archives:
9379
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
9480
builds:
@@ -100,18 +86,12 @@ archives:
10086
files:
10187
- non-existent*
10288

103-
checksum:
104-
extra_files:
105-
- glob: ./dist/fzf-*darwin*.zip
106-
10789
release:
10890
github:
10991
owner: junegunn
11092
name: fzf
11193
prerelease: auto
11294
name_template: '{{ .Version }}'
113-
extra_files:
114-
- glob: ./dist/fzf-*darwin*.zip
11595

11696
snapshot:
11797
name_template: "{{ .Version }}-devel"

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
CHANGELOG
22
=========
33

4+
0.54.2
5+
------
6+
- Fixed incorrect syntax highlighting of truncated multi-line entries
7+
- Updated GoReleaser to 2.1.0 to simplify notarization of macOS binaries
8+
- macOS archives will be in `tar.gz` format instead of `zip` format since we no longer notarize the zip files but binaries
9+
- (Windows) Reverted a mintty fix in 0.54.0
10+
- As a result, mouse may not work on mintty in fullscreen mode. However, fzf will correctly read non-ASCII input in fullscreen mode (`--no-height`).
11+
- fzf unfortunately cannot read non-ASCII input when not in fullscreen mode on Windows. So if you need to input non-ASCII characters, add `--no-height` to your `$FZF_DEFAULT_OPTS`.
12+
- Any help in fixing this issue will be appreciated (#3799, #3847).
13+
414
0.54.1
515
------
616
- Updated [fastwalk](https://github.com/charlievieth/fastwalk) dependency for built-in directory walker

install

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -u
44

5-
version=0.54.1
5+
version=0.54.2
66
auto_completion=
77
key_bindings=
88
update_config=2
@@ -168,8 +168,8 @@ archi=$(uname -sm)
168168
binary_available=1
169169
binary_error=""
170170
case "$archi" in
171-
Darwin\ arm64) download fzf-$version-darwin_arm64.zip ;;
172-
Darwin\ x86_64) download fzf-$version-darwin_amd64.zip ;;
171+
Darwin\ arm64) download fzf-$version-darwin_arm64.tar.gz ;;
172+
Darwin\ x86_64) download fzf-$version-darwin_amd64.tar.gz ;;
173173
Linux\ armv5*) download fzf-$version-linux_armv5.tar.gz ;;
174174
Linux\ armv6*) download fzf-$version-linux_armv6.tar.gz ;;
175175
Linux\ armv7*) download fzf-$version-linux_armv7.tar.gz ;;

install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$version="0.54.1"
1+
$version="0.54.2"
22

33
$fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition
44

man/man1/fzf-tmux.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
THE SOFTWARE.
2323
..
24-
.TH fzf\-tmux 1 "Jul 2024" "fzf 0.54.1" "fzf\-tmux - open fzf in tmux split pane"
24+
.TH fzf\-tmux 1 "Jul 2024" "fzf 0.54.2" "fzf\-tmux - open fzf in tmux split pane"
2525

2626
.SH NAME
2727
fzf\-tmux - open fzf in tmux split pane

man/man1/fzf.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
THE SOFTWARE.
2323
..
24-
.TH fzf 1 "Jul 2024" "fzf 0.54.1" "fzf - a command-line fuzzy finder"
24+
.TH fzf 1 "Jul 2024" "fzf 0.54.2" "fzf - a command-line fuzzy finder"
2525

2626
.SH NAME
2727
fzf - a command-line fuzzy finder

0 commit comments

Comments
 (0)