diff --git a/CHANGELOG.md b/CHANGELOG.md index 42ad57dc..30350477 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## master (unreleased) +## 1.7.2 (2024-07-11) + +- fix: add missing sub directory in hook template ([#768](https://github.com/evilmartians/lefthook/pull/768)) by @nikeee + ## 1.7.1 (2024-07-08) - fix: use correct extension in hook.tmpl ([#767](https://github.com/evilmartians/lefthook/pull/767)) by @apfohl diff --git a/docs/install.md b/docs/install.md index 04664535..68c01b3c 100644 --- a/docs/install.md +++ b/docs/install.md @@ -81,7 +81,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.7.1"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.7.2"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index 2175e5ee..dbfeb1fb 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.7.1" +const version = "1.7.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 60f95317..51aac3c5 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.7.1", + "version": "1.7.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 2e47138e..5801720c 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.7.1", + "version": "1.7.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 909ffffa..68c5eb32 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.7.1", + "version": "1.7.2", "description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-darwin-x64/package.json b/packaging/npm/lefthook-darwin-x64/package.json index d6dd239c..e7d47ca5 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.7.1", + "version": "1.7.2", "description": "The macOS 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-freebsd-arm64/package.json b/packaging/npm/lefthook-freebsd-arm64/package.json index 9edf5e99..a7032ccf 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.7.1", + "version": "1.7.2", "description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-freebsd-x64/package.json b/packaging/npm/lefthook-freebsd-x64/package.json index 7756de2b..08717fe2 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.7.1", + "version": "1.7.2", "description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index b1960b79..8c6bce24 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.7.1", + "version": "1.7.2", "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-linux-x64/package.json b/packaging/npm/lefthook-linux-x64/package.json index a9ff179f..e7da2d69 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.7.1", + "version": "1.7.2", "description": "The Linux 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-windows-arm64/package.json b/packaging/npm/lefthook-windows-arm64/package.json index 4b06b661..55c84d7e 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.7.1", + "version": "1.7.2", "description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-windows-x64/package.json b/packaging/npm/lefthook-windows-x64/package.json index 05fcad70..0d2dd46e 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.7.1", + "version": "1.7.2", "description": "The Windows 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook/package.json b/packaging/npm/lefthook/package.json index 6813b6cc..599ce5f7 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.7.1", + "version": "1.7.2", "description": "Simple git hooks manager", "repository": "https://github.com/evilmartians/lefthook", "main": "bin/index.js", @@ -20,14 +20,14 @@ }, "homepage": "https://github.com/evilmartians/lefthook#readme", "optionalDependencies": { - "lefthook-darwin-arm64": "1.7.1", - "lefthook-darwin-x64": "1.7.1", - "lefthook-linux-arm64": "1.7.1", - "lefthook-linux-x64": "1.7.1", - "lefthook-freebsd-arm64": "1.7.1", - "lefthook-freebsd-x64": "1.7.1", - "lefthook-windows-arm64": "1.7.1", - "lefthook-windows-x64": "1.7.1" + "lefthook-darwin-arm64": "1.7.2", + "lefthook-darwin-x64": "1.7.2", + "lefthook-linux-arm64": "1.7.2", + "lefthook-linux-x64": "1.7.2", + "lefthook-freebsd-arm64": "1.7.2", + "lefthook-freebsd-x64": "1.7.2", + "lefthook-windows-arm64": "1.7.2", + "lefthook-windows-x64": "1.7.2" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index 8e5dc36b..572d91bb 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -2,7 +2,7 @@ require "fileutils" -VERSION = "1.7.1" +VERSION = "1.7.2" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index b62a379b..11667c85 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.7.1" + spec.version = "1.7.2" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]