diff --git a/.goreleaser.yml b/.goreleaser.yml index cf130d7563f..971ccb79fec 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -109,12 +109,12 @@ release: owner: junegunn name: fzf prerelease: auto - name_template: '{{ .Tag }}' + name_template: '{{ .Version }}' extra_files: - glob: ./dist/fzf-*darwin*.zip snapshot: - name_template: "{{ .Tag }}-devel" + name_template: "{{ .Version }}-devel" changelog: sort: asc diff --git a/CHANGELOG.md b/CHANGELOG.md index 5189277fabb..e3c5059bc03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ CHANGELOG 0.54.0 ------ +_Release highlights: https://junegunn.github.io/fzf/releases/0.54.0/_ + - Implemented line wrap of long items - `--wrap` option enables line wrap - `--wrap-sign` customizes the sign for wrapped lines (default: `↳ `) @@ -54,9 +56,12 @@ CHANGELOG - zsh 5.0 compatibility (thanks to @LangLangBart) - Fixed `--walker-skip` to also skip symlinks to directories - Fixed `result` event not fired when input stream is not complete +- New tags will have `v` prefix so that they are available on https://proxy.golang.org/ 0.53.0 ------ +_Release highlights: https://junegunn.github.io/fzf/releases/0.53.0/_ + - Multi-line display - See [Processing multi-line items](https://junegunn.github.io/fzf/tips/processing-multi-line-items/) - fzf can now display multi-line items diff --git a/Makefile b/Makefile index f14c72c3a28..56bb1c1e0a2 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,12 @@ SOURCES := $(wildcard *.go src/*.go src/*/*.go shell/*sh man/man1/*.1) $( ifdef FZF_VERSION VERSION := $(FZF_VERSION) else -VERSION := $(shell git describe --abbrev=0 2> /dev/null) +VERSION := $(shell git describe --abbrev=0 2> /dev/null | sed "s/^v//") endif ifeq ($(VERSION),) $(error Not on git repository; cannot determine $$FZF_VERSION) endif -VERSION_TRIM := $(shell sed "s/-.*//" <<< $(VERSION)) +VERSION_TRIM := $(shell sed "s/^v//; s/-.*//" <<< $(VERSION)) VERSION_REGEX := $(subst .,\.,$(VERSION_TRIM)) ifdef FZF_REVISION diff --git a/install b/install index e83f1be4cd9..ef400c2e00b 100755 --- a/install +++ b/install @@ -2,7 +2,7 @@ set -u -version=0.53.0 +version=0.54.0 auto_completion= key_bindings= update_config=2 @@ -146,7 +146,7 @@ download() { fi local url - url=https://github.com/junegunn/fzf/releases/download/$version/${1} + url=https://github.com/junegunn/fzf/releases/download/v$version/${1} set -o pipefail if ! (try_curl $url || try_wget $url); then set +o pipefail diff --git a/install.ps1 b/install.ps1 index 19feeb521ac..8c4ed380d18 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,4 +1,4 @@ -$version="0.53.0" +$version="0.54.0" $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition @@ -40,7 +40,7 @@ function download { return } cd "$fzf_base\bin" - $url="https://github.com/junegunn/fzf/releases/download/$version/$file" + $url="https://github.com/junegunn/fzf/releases/download/v$version/$file" $temp=$env:TMP + "\fzf.zip" [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 if ($PSVersionTable.PSVersion.Major -ge 3) { diff --git a/main.go b/main.go index f32813da439..cb7ebe6e60d 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "github.com/junegunn/fzf/src/protector" ) -var version = "0.53" +var version = "0.54" var revision = "devel" //go:embed shell/key-bindings.bash diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 9a72eec8535..3d015235e08 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf\-tmux 1 "Jun 2024" "fzf 0.53.0" "fzf\-tmux - open fzf in tmux split pane" +.TH fzf\-tmux 1 "Jul 2024" "fzf 0.54.0" "fzf\-tmux - open fzf in tmux split pane" .SH NAME fzf\-tmux - open fzf in tmux split pane diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index ef77ae8d9ef..b4eb369c3b6 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Jun 2024" "fzf 0.54.0" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Jul 2024" "fzf 0.54.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder