From 923014aea4ca27c7c254fb97c623fb8d3ad29159 Mon Sep 17 00:00:00 2001 From: Eric Nielsen <4120606+ericbn@users.noreply.github.com> Date: Mon, 25 Nov 2024 08:54:26 -0500 Subject: [PATCH] v1.16.0 --- CHANGELOG.md | 7 ++++++- src/stage2/50_zimfw_info.zsh.erb | 2 +- src/zimfw.zsh.erb | 2 +- zimfw.zsh | 6 +++--- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 704e18c..0287810 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +_No unreleased changes._ + +## [1.16.0] - 2024-11-25 + ### Added - Also output zimfw config and zimfw.zsh script paths in `info` action, @@ -427,7 +431,8 @@ Take your time to review the updated [README.md] and the changes listed below. [termtitle]: https://github.com/zimfw/termtitle [s1ck94]: https://github.com/zimfw/s1ck94 -[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.15.1...HEAD +[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.16.0...HEAD +[1.16.0]: https://github.com/zimfw/zimfw/compare/v1.15.1...v1.16.0 [1.15.1]: https://github.com/zimfw/zimfw/compare/v1.15.0...v1.15.1 [1.15.0]: https://github.com/zimfw/zimfw/compare/v1.14.0...v1.15.0 [1.14.0]: https://github.com/zimfw/zimfw/compare/v1.13.1...v1.14.0 diff --git a/src/stage2/50_zimfw_info.zsh.erb b/src/stage2/50_zimfw_info.zsh.erb index ae56209..af9f650 100644 --- a/src/stage2/50_zimfw_info.zsh.erb +++ b/src/stage2/50_zimfw_info.zsh.erb @@ -1,6 +1,6 @@ _zimfw_info() { - _zimfw_info_print_symlink 'zimfw config' ${_zconfig} _zimfw_info_print_symlink ZIM_HOME ${ZIM_HOME} + _zimfw_info_print_symlink 'zimfw config' ${_zconfig} _zimfw_info_print_symlink 'zimfw script' ${__ZIMFW_FILE} print -R 'zimfw version: '${_zversion}' (built at <%= Time.now.utc %>, previous commit is <%= `git rev-parse --short HEAD | tr -d '\r\n'` %>)' local zparam diff --git a/src/zimfw.zsh.erb b/src/zimfw.zsh.erb index 65f6f2c..9b19fdd 100644 --- a/src/zimfw.zsh.erb +++ b/src/zimfw.zsh.erb @@ -4,7 +4,7 @@ class Zim :bold, :normal, :red, :normalred, :yellow, :normalyellow, :clear_line, :ellipsis, :okay, :warn, :error def initialize - @version = "1.16.0-SNAPSHOT" + @version = "1.16.0" @home = "${ZDOTDIR:-${HOME}}" @min_zsh_version = "5.2" # Matches {ssh,http,https,git}://{user@,}host/org/repo and {user@,}host:org/repo diff --git a/zimfw.zsh b/zimfw.zsh index 35e5b70..77a83b2 100644 --- a/zimfw.zsh +++ b/zimfw.zsh @@ -467,10 +467,10 @@ _zimfw_compile() { } _zimfw_info() { - _zimfw_info_print_symlink 'zimfw config' ${_zconfig} _zimfw_info_print_symlink ZIM_HOME ${ZIM_HOME} + _zimfw_info_print_symlink 'zimfw config' ${_zconfig} _zimfw_info_print_symlink 'zimfw script' ${__ZIMFW_FILE} - print -R 'zimfw version: '${_zversion}' (built at 2024-10-25 16:12:27 UTC, previous commit is e8e26c1)' + print -R 'zimfw version: '${_zversion}' (built at 2024-11-25 13:50:33 UTC, previous commit is 2d5718e)' local zparam for zparam in LANG ${(Mk)parameters:#LC_*} OSTYPE TERM TERM_PROGRAM TERM_PROGRAM_VERSION ZSH_VERSION; do print -R ${(r.22....:.)zparam}${(P)zparam} @@ -965,7 +965,7 @@ zimfw() { local -r _znormal= _zbold= _zred= _znormalred= _zgreen= _zyellow= _znormalyellow= fi local -r _zerror="${_zred}x " _zokay="${_zgreen}) ${_znormal}" _zwarn="${_zyellow}! " - local -r _zconfig=${ZIM_CONFIG_FILE:-${ZDOTDIR:-${HOME}}/.zimrc} _zversion='1.16.0-SNAPSHOT' + local -r _zconfig=${ZIM_CONFIG_FILE:-${ZDOTDIR:-${HOME}}/.zimrc} _zversion='1.16.0' local -r zusage="Usage: ${_zbold}${0}${_znormal} [${_zbold}-q${_znormal}|${_zbold}-v${_znormal}] Actions: