From 15aa369cd03a51b105ba6d25ba03574989bd596e Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 18 Nov 2024 11:12:17 +0300 Subject: [PATCH] 1.8.3: fix git commands for stable use when changing CWD --- CHANGELOG.md | 4 ++++ 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, 32 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f5e0f8..03227cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change log +## 1.8.3 (2024-11-18) + +- fix: use absolute paths when cloning remotes ([#873](https://github.com/evilmartians/lefthook/pull/873)) by @mrexox + ## 1.8.2 (2024-10-29) - chore: fix linter and tests by @mrexox diff --git a/docs/install.md b/docs/install.md index 54f1779a..077805b8 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.8.2"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.8.3"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index fd51e5a0..b9903f06 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.8.2" +const version = "1.8.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 c9436516..f20c9847 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.8.2", + "version": "1.8.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 16641ff1..ed037ea9 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.8.2", + "version": "1.8.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 f1d57fec..9d532a8c 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.8.2", + "version": "1.8.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 75604dc4..4c59fcc4 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.8.2", + "version": "1.8.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 838d35e2..bd0c2dae 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.8.2", + "version": "1.8.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 4cf23354..d20b447a 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.8.2", + "version": "1.8.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 df0d84d7..5ba96fe5 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.8.2", + "version": "1.8.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 8f87beaa..e1ae150b 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.8.2", + "version": "1.8.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 41b1c193..34e52052 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.8.2", + "version": "1.8.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 72e07a64..067b11b1 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.8.2", + "version": "1.8.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 9a52088d..570036ee 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.8.2", + "version": "1.8.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 77fabaf1..d9e541bd 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.8.2", + "version": "1.8.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 1a8d841c..4ad58e71 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.8.2", + "version": "1.8.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.8.2", - "lefthook-darwin-x64": "1.8.2", - "lefthook-linux-arm64": "1.8.2", - "lefthook-linux-x64": "1.8.2", - "lefthook-freebsd-arm64": "1.8.2", - "lefthook-freebsd-x64": "1.8.2", - "lefthook-openbsd-arm64": "1.8.2", - "lefthook-openbsd-x64": "1.8.2", - "lefthook-windows-arm64": "1.8.2", - "lefthook-windows-x64": "1.8.2" + "lefthook-darwin-arm64": "1.8.3", + "lefthook-darwin-x64": "1.8.3", + "lefthook-linux-arm64": "1.8.3", + "lefthook-linux-x64": "1.8.3", + "lefthook-freebsd-arm64": "1.8.3", + "lefthook-freebsd-x64": "1.8.3", + "lefthook-openbsd-arm64": "1.8.3", + "lefthook-openbsd-x64": "1.8.3", + "lefthook-windows-arm64": "1.8.3", + "lefthook-windows-x64": "1.8.3" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index 7429b11c..d539617d 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -2,7 +2,7 @@ require "fileutils" -VERSION = "1.8.2" +VERSION = "1.8.3" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/pypi/setup.py b/packaging/pypi/setup.py index 4aac1081..e70f5057 100644 --- a/packaging/pypi/setup.py +++ b/packaging/pypi/setup.py @@ -5,7 +5,7 @@ setup( name='lefthook', - version='1.8.2', + version='1.8.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 a267342c..306430c4 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.8.2" + spec.version = "1.8.3" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]