From a30999a78528b3c773b86ca5bd21a0220116c9de Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 8 Jan 2017 02:09:31 +0900 Subject: [PATCH] Prepare for 0.16.0 release --- README.md | 11 ++++------- install | 13 +++++++------ man/man1/fzf-tmux.1 | 4 ++-- man/man1/fzf.1 | 4 ++-- src/constants.go | 2 +- 5 files changed, 16 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 550ea77..de69d01 100644 --- a/README.md +++ b/README.md @@ -496,12 +496,9 @@ valid directory. Example: set -l FZF_CTRL_T_COMMAND "command find -L \$dir -type f 2> /dev/null | sed '1d; s#^\./##'" ``` -License -------- +[License](LICENSE) +------------------ -[MIT](LICENSE) +The MIT License (MIT) -Author ------- - -Junegunn Choi +Copyright (c) 2017 Junegunn Choi diff --git a/install b/install index 58a42e3..7a2481f 100755 --- a/install +++ b/install @@ -2,9 +2,7 @@ set -u -[[ "$@" =~ --pre ]] && version=0.15.9 pre=1 || - version=0.15.9 pre=0 - +version=0.16.0-alpha auto_completion= key_bindings= update_config=2 @@ -48,7 +46,7 @@ for opt in "$@"; do --no-update-rc) update_config=0 ;; --32) binary_arch=386 ;; --64) binary_arch=amd64 ;; - --bin|--pre) ;; + --bin) ;; *) echo "unknown option: $opt" help @@ -121,7 +119,7 @@ try_wget() { download() { echo "Downloading bin/fzf ..." - if [ $pre = 0 ]; then + if [[ ! "$version" =~ alpha ]]; then if [ -x "$fzf_base"/bin/fzf ]; then echo " - Already exists" check_binary && return @@ -137,7 +135,10 @@ download() { return fi - local url=https://github.com/junegunn/fzf-bin/releases/download/$version/${1}.tgz + local url + [[ "$version" =~ alpha ]] && + url=https://github.com/junegunn/fzf-bin/releases/download/alpha/${1}.tgz || + url=https://github.com/junegunn/fzf-bin/releases/download/$version/${1}.tgz set -o pipefail if ! (try_curl $url || try_wget $url); then set +o pipefail diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 6f21139..6ccdb66 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -1,7 +1,7 @@ .ig The MIT License (MIT) -Copyright (c) 2016 Junegunn Choi +Copyright (c) 2017 Junegunn Choi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -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 "Nov 2016" "fzf 0.15.9" "fzf-tmux - open fzf in tmux split pane" +.TH fzf-tmux 1 "Jan 2017" "fzf 0.16.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 fac2aab..b6540e1 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -1,7 +1,7 @@ .ig The MIT License (MIT) -Copyright (c) 2016 Junegunn Choi +Copyright (c) 2017 Junegunn Choi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -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 "Nov 2016" "fzf 0.15.9" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Jan 2017" "fzf 0.16.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder diff --git a/src/constants.go b/src/constants.go index b9def74..9640dbe 100644 --- a/src/constants.go +++ b/src/constants.go @@ -8,7 +8,7 @@ import ( const ( // Current version - version = "0.15.9" + version = "0.16.0-alpha" // Core coordinatorDelayMax time.Duration = 100 * time.Millisecond