From eeaddbf8198a945a36777a22ddd5f39cd51a8772 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 12 Dec 2024 15:05:33 +0300 Subject: [PATCH] 1.9.2: fix execution for remote scripts --- 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 8bf3e61e..5aaab53f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change log +## 1.9.2 (2024-12-12) + +- fix: use correct remote scripts folder ([#891](https://github.com/evilmartians/lefthook/pull/891)) by @mrexox + ## 1.9.1 (2024-12-12) - fix: skip_lfs config option ([#889](https://github.com/evilmartians/lefthook/pull/889)) by @zachahn diff --git a/docs/install.md b/docs/install.md index 851aad19..c10e352f 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.1"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.9.2"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index 1cbea4c7..6a676f44 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.9.1" +const version = "1.9.2" 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 45a727b2..a43de2e3 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.9.1", + "version": "1.9.2", "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 2ec4653a..09cb8f7e 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.9.1", + "version": "1.9.2", "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 bfb339e8..9f5ff2bc 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.1", + "version": "1.9.2", "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 9eb56bd5..21abcd2f 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.1", + "version": "1.9.2", "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 3d3d8f95..39d6090e 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.1", + "version": "1.9.2", "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 a2007b69..c15ca3a7 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.1", + "version": "1.9.2", "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 f31998e0..5ffafe10 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.1", + "version": "1.9.2", "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 3a3bbb0f..1e0f822c 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.1", + "version": "1.9.2", "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 ce6ab747..2d39f94f 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.1", + "version": "1.9.2", "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 c9e5df60..18377d85 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.1", + "version": "1.9.2", "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 4ebb6ec2..258931cb 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.1", + "version": "1.9.2", "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 66a3209e..d2aea65f 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.1", + "version": "1.9.2", "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 8d9edd1a..1f337c20 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.9.1", + "version": "1.9.2", "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.1", - "lefthook-darwin-x64": "1.9.1", - "lefthook-linux-arm64": "1.9.1", - "lefthook-linux-x64": "1.9.1", - "lefthook-freebsd-arm64": "1.9.1", - "lefthook-freebsd-x64": "1.9.1", - "lefthook-openbsd-arm64": "1.9.1", - "lefthook-openbsd-x64": "1.9.1", - "lefthook-windows-arm64": "1.9.1", - "lefthook-windows-x64": "1.9.1" + "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" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index 999c4463..c536201b 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -2,7 +2,7 @@ require "fileutils" -VERSION = "1.9.1" +VERSION = "1.9.2" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/pypi/setup.py b/packaging/pypi/setup.py index 8304e70c..30329fdf 100644 --- a/packaging/pypi/setup.py +++ b/packaging/pypi/setup.py @@ -5,7 +5,7 @@ setup( name='lefthook', - version='1.9.1', + version='1.9.2', 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 707cbf5f..c7f13b12 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.1" + spec.version = "1.9.2" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]