From d5199b3044e876b2f9f0965b66b19f40349fd843 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Tue, 9 Apr 2024 11:39:00 +0300 Subject: [PATCH] 1.6.9: fix interactive mode for windows and implicit git commands length --- CHANGELOG.md | 9 +++++++++ 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, 32 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 039ca8e1..3be2e944 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ ## master (unreleased) +## 1.6.9 (2024-04-09) + +- fix: enable interactive inputs for windows ([#696](https://github.com/evilmartians/lefthook/pull/696)) by @mrexox +- fix: add batching to implicit commands ([#695](https://github.com/evilmartians/lefthook/pull/695)) by @mrexox +- fix: command argument count validations ([#694](https://github.com/evilmartians/lefthook/pull/694)) by @scop +- fix: re-download remotes when called install with -f ([#692](https://github.com/evilmartians/lefthook/pull/692)) by @mrexox +- chore: remove redundant parallelisation ([#690](https://github.com/evilmartians/lefthook/pull/690)) by @mrexox +- chore: refactor Result handling ([#689](https://github.com/evilmartians/lefthook/pull/689)) by @mrexox + ## 1.6.8 (2024-04-02) - fix: fallback to empty tree sha when no upstream set ([#687](https://github.com/evilmartians/lefthook/pull/687)) by @mrexox diff --git a/docs/install.md b/docs/install.md index 615a62d0..530d29b0 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.8"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.6.9"), ``` ## Scoop for Windowss diff --git a/internal/version/version.go b/internal/version/version.go index 248a4a58..06aa65d2 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -6,7 +6,7 @@ import ( "strconv" ) -const version = "1.6.8" +const version = "1.6.9" var ( // Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}. diff --git a/packaging/Makefile b/packaging/Makefile index ed04f6e1..136633c9 100644 --- a/packaging/Makefile +++ b/packaging/Makefile @@ -1,5 +1,5 @@ # Packages version to release -VERSION := 1.6.8 +VERSION := 1.6.9 DIST_DIR := ../dist diff --git a/packaging/npm-bundled/package.json b/packaging/npm-bundled/package.json index 46094dbd..3a7d34c6 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.6.8", + "version": "1.6.9", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/packaging/npm-installer/package.json b/packaging/npm-installer/package.json index e9d722c6..460abe60 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.6.8", + "version": "1.6.9", "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 446a98f2..c702d39c 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.8", + "version": "1.6.9", "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 4de9aa62..016f9960 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.8", + "version": "1.6.9", "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 4e57206c..551e894b 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.8", + "version": "1.6.9", "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 b095a2d2..a06f5718 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.8", + "version": "1.6.9", "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 ec8518a8..05e8e5e8 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.8", + "version": "1.6.9", "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 c44c7f7e..8248c585 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.8", + "version": "1.6.9", "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 98dd51de..7027e83b 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.8", + "version": "1.6.9", "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 e715f506..975e5566 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.8", + "version": "1.6.9", "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 6a453a70..4401bb99 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.6.8", + "version": "1.6.9", "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.8", - "lefthook-darwin-x64": "1.6.8", - "lefthook-linux-arm64": "1.6.8", - "lefthook-linux-x64": "1.6.8", - "lefthook-freebsd-arm64": "1.6.8", - "lefthook-freebsd-x64": "1.6.8", - "lefthook-windows-arm64": "1.6.8", - "lefthook-windows-x64": "1.6.8" + "lefthook-darwin-arm64": "1.6.9", + "lefthook-darwin-x64": "1.6.9", + "lefthook-linux-arm64": "1.6.9", + "lefthook-linux-x64": "1.6.9", + "lefthook-freebsd-arm64": "1.6.9", + "lefthook-freebsd-x64": "1.6.9", + "lefthook-windows-arm64": "1.6.9", + "lefthook-windows-x64": "1.6.9" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index a6de9c1c..876cc129 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.8" + spec.version = "1.6.9" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]