From 829cc926912ad99eb27bc0ca5634fb37f60599d7 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Wed, 18 Dec 2024 10:34:30 +0300 Subject: [PATCH] 1.9.3: fix issues with parsing existing options --- CHANGELOG.md | 5 +++++ docs/install.md | 2 +- internal/version/version.go | 2 +- packaging/npm-bundled/package.json | 2 +- packaging/npm-installer/package.json | 2 +- .../npm/lefthook-darwin-arm64/package.json | 2 +- .../npm/lefthook-darwin-x64/package.json | 2 +- .../npm/lefthook-freebsd-arm64/package.json | 2 +- .../npm/lefthook-freebsd-x64/package.json | 2 +- .../npm/lefthook-linux-arm64/package.json | 2 +- packaging/npm/lefthook-linux-x64/package.json | 2 +- .../npm/lefthook-openbsd-arm64/package.json | 2 +- .../npm/lefthook-openbsd-x64/package.json | 2 +- .../npm/lefthook-windows-arm64/package.json | 2 +- .../npm/lefthook-windows-x64/package.json | 2 +- packaging/npm/lefthook/package.json | 22 +++++++++---------- packaging/pack.rb | 2 +- packaging/pypi/setup.py | 2 +- packaging/rubygems/lefthook.gemspec | 2 +- 19 files changed, 33 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5aaab53f..a0938e71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log +## 1.9.3 (2024-12-18) + +- fix: correctly parse config options ([#895](https://github.com/evilmartians/lefthook/pull/895)) by @mrexox +- chore: add mdbook ([#894](https://github.com/evilmartians/lefthook/pull/894)) by @mrexox + ## 1.9.2 (2024-12-12) - fix: use correct remote scripts folder ([#891](https://github.com/evilmartians/lefthook/pull/891)) by @mrexox diff --git a/docs/install.md b/docs/install.md index c10e352f..d4cd0e29 100644 --- a/docs/install.md +++ b/docs/install.md @@ -80,7 +80,7 @@ You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook Utilize lefthook in your Swift project using Swift Package Manager: ```swift -.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.9.2"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.9.3"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index 6a676f44..6ecf8b68 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.9.2" +const version = "1.9.3" var ( // Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}. diff --git a/packaging/npm-bundled/package.json b/packaging/npm-bundled/package.json index a43de2e3..1d9c6708 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.9.2", + "version": "1.9.3", "description": "Simple git hooks manager", "main": "bin/index.js", "bin": { diff --git a/packaging/npm-installer/package.json b/packaging/npm-installer/package.json index 09cb8f7e..87564c6a 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.9.2", + "version": "1.9.3", "description": "Simple git hooks manager", "main": "bin/index.js", "bin": { diff --git a/packaging/npm/lefthook-darwin-arm64/package.json b/packaging/npm/lefthook-darwin-arm64/package.json index 9f5ff2bc..dbc6570e 100644 --- a/packaging/npm/lefthook-darwin-arm64/package.json +++ b/packaging/npm/lefthook-darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-darwin-arm64", - "version": "1.9.2", + "version": "1.9.3", "description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-darwin-x64/package.json b/packaging/npm/lefthook-darwin-x64/package.json index 21abcd2f..106fa7b5 100644 --- a/packaging/npm/lefthook-darwin-x64/package.json +++ b/packaging/npm/lefthook-darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-darwin-x64", - "version": "1.9.2", + "version": "1.9.3", "description": "The macOS 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-freebsd-arm64/package.json b/packaging/npm/lefthook-freebsd-arm64/package.json index 39d6090e..3881b9bb 100644 --- a/packaging/npm/lefthook-freebsd-arm64/package.json +++ b/packaging/npm/lefthook-freebsd-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-freebsd-arm64", - "version": "1.9.2", + "version": "1.9.3", "description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-freebsd-x64/package.json b/packaging/npm/lefthook-freebsd-x64/package.json index c15ca3a7..8595ba17 100644 --- a/packaging/npm/lefthook-freebsd-x64/package.json +++ b/packaging/npm/lefthook-freebsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-freebsd-x64", - "version": "1.9.2", + "version": "1.9.3", "description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index 5ffafe10..a369dfc6 100644 --- a/packaging/npm/lefthook-linux-arm64/package.json +++ b/packaging/npm/lefthook-linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-linux-arm64", - "version": "1.9.2", + "version": "1.9.3", "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-linux-x64/package.json b/packaging/npm/lefthook-linux-x64/package.json index 1e0f822c..8b70eff9 100644 --- a/packaging/npm/lefthook-linux-x64/package.json +++ b/packaging/npm/lefthook-linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-linux-x64", - "version": "1.9.2", + "version": "1.9.3", "description": "The Linux 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-openbsd-arm64/package.json b/packaging/npm/lefthook-openbsd-arm64/package.json index 2d39f94f..52b1beff 100644 --- a/packaging/npm/lefthook-openbsd-arm64/package.json +++ b/packaging/npm/lefthook-openbsd-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-openbsd-arm64", - "version": "1.9.2", + "version": "1.9.3", "description": "The OpenBSD ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-openbsd-x64/package.json b/packaging/npm/lefthook-openbsd-x64/package.json index 18377d85..8a7fa5c2 100644 --- a/packaging/npm/lefthook-openbsd-x64/package.json +++ b/packaging/npm/lefthook-openbsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-openbsd-x64", - "version": "1.9.2", + "version": "1.9.3", "description": "The OpenBSD 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-windows-arm64/package.json b/packaging/npm/lefthook-windows-arm64/package.json index 258931cb..25d7042e 100644 --- a/packaging/npm/lefthook-windows-arm64/package.json +++ b/packaging/npm/lefthook-windows-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-windows-arm64", - "version": "1.9.2", + "version": "1.9.3", "description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-windows-x64/package.json b/packaging/npm/lefthook-windows-x64/package.json index d2aea65f..a28d3f17 100644 --- a/packaging/npm/lefthook-windows-x64/package.json +++ b/packaging/npm/lefthook-windows-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-windows-x64", - "version": "1.9.2", + "version": "1.9.3", "description": "The Windows 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook/package.json b/packaging/npm/lefthook/package.json index 1f337c20..d90d9eea 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.9.2", + "version": "1.9.3", "description": "Simple git hooks manager", "repository": { "type": "git", @@ -23,16 +23,16 @@ }, "homepage": "https://github.com/evilmartians/lefthook#readme", "optionalDependencies": { - "lefthook-darwin-arm64": "1.9.2", - "lefthook-darwin-x64": "1.9.2", - "lefthook-linux-arm64": "1.9.2", - "lefthook-linux-x64": "1.9.2", - "lefthook-freebsd-arm64": "1.9.2", - "lefthook-freebsd-x64": "1.9.2", - "lefthook-openbsd-arm64": "1.9.2", - "lefthook-openbsd-x64": "1.9.2", - "lefthook-windows-arm64": "1.9.2", - "lefthook-windows-x64": "1.9.2" + "lefthook-darwin-arm64": "1.9.3", + "lefthook-darwin-x64": "1.9.3", + "lefthook-linux-arm64": "1.9.3", + "lefthook-linux-x64": "1.9.3", + "lefthook-freebsd-arm64": "1.9.3", + "lefthook-freebsd-x64": "1.9.3", + "lefthook-openbsd-arm64": "1.9.3", + "lefthook-openbsd-x64": "1.9.3", + "lefthook-windows-arm64": "1.9.3", + "lefthook-windows-x64": "1.9.3" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index c536201b..b8553d1f 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -2,7 +2,7 @@ require "fileutils" -VERSION = "1.9.2" +VERSION = "1.9.3" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/pypi/setup.py b/packaging/pypi/setup.py index 30329fdf..2e824b6e 100644 --- a/packaging/pypi/setup.py +++ b/packaging/pypi/setup.py @@ -5,7 +5,7 @@ setup( name='lefthook', - version='1.9.2', + version='1.9.3', author='Evil Martians', author_email='lefthook@evilmartians.com', url='https://github.com/evilmartians/lefthook', diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index c7f13b12..9d9edfa5 100644 --- a/packaging/rubygems/lefthook.gemspec +++ b/packaging/rubygems/lefthook.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "lefthook" - spec.version = "1.9.2" + spec.version = "1.9.3" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]