From e4f122dbf3f818784fbdae8bfbb41e87c6e47155 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 2 Dec 2024 10:15:58 +0300 Subject: [PATCH] 1.8.5: add an option to disable LFS hooks --- 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 282e04d9..6d6f2f05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log +## 1.8.5 (2024-12-02) + +- ci: automate publishing to cloudsmith ([#875](https://github.com/evilmartians/lefthook/pull/875)) by @mrexox +- feat: add option to skip running LFS hooks ([#879](https://github.com/evilmartians/lefthook/pull/879)) by @zachah + ## 1.8.4 (2024-11-18) - ci: fix goreleaser update changes ([#874](https://github.com/evilmartians/lefthook/pull/874)) by @mrexox diff --git a/docs/install.md b/docs/install.md index 9af1f509..3b52fc43 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.4"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.8.5"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index 1f21df85..675163f8 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.8.4" +const version = "1.8.5" 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 226d4bc9..9289b925 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.8.4", + "version": "1.8.5", "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 3d2c445f..fad4e880 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.8.4", + "version": "1.8.5", "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 babb641f..a65f1835 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.4", + "version": "1.8.5", "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 fbcb1e18..cf9126a5 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.4", + "version": "1.8.5", "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 83de503a..2e0fec86 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.4", + "version": "1.8.5", "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 bfabe775..7ab33451 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.4", + "version": "1.8.5", "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 86606ca5..058966d1 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.4", + "version": "1.8.5", "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 694e9b15..93e44eea 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.4", + "version": "1.8.5", "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 d0a7d0b6..a652c39e 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.4", + "version": "1.8.5", "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 e9b0e4c1..8499e3d2 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.4", + "version": "1.8.5", "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 dce2a839..4df5ea63 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.4", + "version": "1.8.5", "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 f543de89..8654a08a 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.4", + "version": "1.8.5", "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 a110d81d..3566aa0a 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.8.4", + "version": "1.8.5", "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.4", - "lefthook-darwin-x64": "1.8.4", - "lefthook-linux-arm64": "1.8.4", - "lefthook-linux-x64": "1.8.4", - "lefthook-freebsd-arm64": "1.8.4", - "lefthook-freebsd-x64": "1.8.4", - "lefthook-openbsd-arm64": "1.8.4", - "lefthook-openbsd-x64": "1.8.4", - "lefthook-windows-arm64": "1.8.4", - "lefthook-windows-x64": "1.8.4" + "lefthook-darwin-arm64": "1.8.5", + "lefthook-darwin-x64": "1.8.5", + "lefthook-linux-arm64": "1.8.5", + "lefthook-linux-x64": "1.8.5", + "lefthook-freebsd-arm64": "1.8.5", + "lefthook-freebsd-x64": "1.8.5", + "lefthook-openbsd-arm64": "1.8.5", + "lefthook-openbsd-x64": "1.8.5", + "lefthook-windows-arm64": "1.8.5", + "lefthook-windows-x64": "1.8.5" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index 94068706..ed9986db 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -2,7 +2,7 @@ require "fileutils" -VERSION = "1.8.4" +VERSION = "1.8.5" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/pypi/setup.py b/packaging/pypi/setup.py index 5d3ca3d6..025f1155 100644 --- a/packaging/pypi/setup.py +++ b/packaging/pypi/setup.py @@ -5,7 +5,7 @@ setup( name='lefthook', - version='1.8.4', + version='1.8.5', 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 5ac0866c..c1fb237f 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.4" + spec.version = "1.8.5" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]