From e87cc77f7d91893d701ae6dece10c65c32974555 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Fri, 17 May 2024 14:27:25 +0300 Subject: [PATCH] 1.6.12: fix interactive mode for scripts --- CHANGELOG.md | 5 +++++ docs/install.md | 2 +- internal/version/version.go | 2 +- packaging/Makefile | 2 +- packaging/npm-bundled/package.json | 2 +- packaging/npm-installer/package.json | 2 +- .../npm/lefthook-darwin-arm64/package.json | 2 +- packaging/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-windows-arm64/package.json | 2 +- .../npm/lefthook-windows-x64/package.json | 2 +- packaging/npm/lefthook/package.json | 18 +++++++++--------- packaging/rubygems/lefthook.gemspec | 2 +- 16 files changed, 28 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7fa449a..7a0b3937 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## master (unreleased) +# 1.6.12 (2024-05-17) + +- fix: more verbose error on versions mismatch ([#721](https://github.com/evilmartians/lefthook/pull/721)) by @mrexox +- fix: enable interactive scripts ([#720](https://github.com/evilmartians/lefthook/pull/720)) by @mrexox + ## 1.6.11 (2024-05-13) - feat: add run --no-auto-install flag ([#716](https://github.com/evilmartians/lefthook/pull/716)) by @mrexox diff --git a/docs/install.md b/docs/install.md index c868470a..c569ee79 100644 --- a/docs/install.md +++ b/docs/install.md @@ -76,7 +76,7 @@ python3 -m pip install --user lefthook You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook-plugin). To utilize lefthook, include the plugin in the dependencies section of your `Package.swift`: ```swift -.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.6.11"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.6.12"), ``` ## Scoop for Windowss diff --git a/internal/version/version.go b/internal/version/version.go index bbc775a1..3c5ec341 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.6.11" +const version = "1.6.12" var ( // Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}. diff --git a/packaging/Makefile b/packaging/Makefile index 20459ef0..89722699 100644 --- a/packaging/Makefile +++ b/packaging/Makefile @@ -1,5 +1,5 @@ # Packages version to release -VERSION := 1.6.11 +VERSION := 1.6.12 DIST_DIR := ../dist diff --git a/packaging/npm-bundled/package.json b/packaging/npm-bundled/package.json index c24af832..34f7479a 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.6.11", + "version": "1.6.12", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/packaging/npm-installer/package.json b/packaging/npm-installer/package.json index 74bffb38..1656d7e5 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.6.11", + "version": "1.6.12", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/packaging/npm/lefthook-darwin-arm64/package.json b/packaging/npm/lefthook-darwin-arm64/package.json index 26458eb4..5c61ea15 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.6.11", + "version": "1.6.12", "description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-darwin-x64/package.json b/packaging/npm/lefthook-darwin-x64/package.json index 6d7ed97e..7033479c 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.6.11", + "version": "1.6.12", "description": "The macOS 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-freebsd-arm64/package.json b/packaging/npm/lefthook-freebsd-arm64/package.json index d8a799bd..cdc2578e 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.6.11", + "version": "1.6.12", "description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-freebsd-x64/package.json b/packaging/npm/lefthook-freebsd-x64/package.json index 72affdf7..eaebe166 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.6.11", + "version": "1.6.12", "description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index 00e84b2f..0a688482 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.6.11", + "version": "1.6.12", "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-linux-x64/package.json b/packaging/npm/lefthook-linux-x64/package.json index bdc4504e..6a17a8ce 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.6.11", + "version": "1.6.12", "description": "The Linux 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-windows-arm64/package.json b/packaging/npm/lefthook-windows-arm64/package.json index a961f2b5..03b48e2f 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.6.11", + "version": "1.6.12", "description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook-windows-x64/package.json b/packaging/npm/lefthook-windows-x64/package.json index 6f5769b4..0bb8329c 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.6.11", + "version": "1.6.12", "description": "The Windows 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": "https://github.com/evilmartians/lefthook", diff --git a/packaging/npm/lefthook/package.json b/packaging/npm/lefthook/package.json index e4e76454..d6e15be0 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.6.11", + "version": "1.6.12", "description": "Simple git hooks manager", "main": "index.js", "repository": "https://github.com/evilmartians/lefthook", @@ -20,14 +20,14 @@ }, "homepage": "https://github.com/evilmartians/lefthook#readme", "optionalDependencies": { - "lefthook-darwin-arm64": "1.6.11", - "lefthook-darwin-x64": "1.6.11", - "lefthook-linux-arm64": "1.6.11", - "lefthook-linux-x64": "1.6.11", - "lefthook-freebsd-arm64": "1.6.11", - "lefthook-freebsd-x64": "1.6.11", - "lefthook-windows-arm64": "1.6.11", - "lefthook-windows-x64": "1.6.11" + "lefthook-darwin-arm64": "1.6.12", + "lefthook-darwin-x64": "1.6.12", + "lefthook-linux-arm64": "1.6.12", + "lefthook-linux-x64": "1.6.12", + "lefthook-freebsd-arm64": "1.6.12", + "lefthook-freebsd-x64": "1.6.12", + "lefthook-windows-arm64": "1.6.12", + "lefthook-windows-x64": "1.6.12" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index e7eaebfb..50f754d5 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.6.11" + spec.version = "1.6.12" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]