diff --git a/CHANGELOG.md b/CHANGELOG.md index c976eb76..a0c18101 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +# 1.0.4 (2022-06-27) + - Support skipping on rebase ([PR #289](https://github.com/evilmartians/lefthook/pull/289) by @mrexox) # 1.0.3 (2022-06-25) diff --git a/internal/config/command.go b/internal/config/command.go index 8169890f..6f6baad6 100644 --- a/internal/config/command.go +++ b/internal/config/command.go @@ -95,11 +95,11 @@ func mergeCommands(base, extra *viper.Viper) (map[string]*Command, error) { } for key, replace := range runReplaces { - // Deprecated, will be deleted if replace.Run != "" { commands[key].Run = strings.Replace(commands[key].Run, CMD, replace.Run, -1) } + // Deprecated, will be deleted if replace.Runner != "" { commands[key].Runner = strings.Replace(commands[key].Runner, CMD, replace.Runner, -1) } diff --git a/internal/version/version.go b/internal/version/version.go index 4b66ac2f..f465955e 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -6,7 +6,7 @@ import ( "strconv" ) -const Version = "1.0.3" +const Version = "1.0.4" var ( versionRegexp = regexp.MustCompile( diff --git a/packaging/npm-bundled/package.json b/packaging/npm-bundled/package.json index c6b37abc..37563fe8 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.0.3", + "version": "1.0.4", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/packaging/npm-installer/package.json b/packaging/npm-installer/package.json index 80490c3d..7989ebf2 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.0.3", + "version": "1.0.4", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/packaging/npm/Makefile b/packaging/npm/Makefile index 0c9dae75..171acd8a 100644 --- a/packaging/npm/Makefile +++ b/packaging/npm/Makefile @@ -1,5 +1,5 @@ # NPM package version to release -VERSION := 1.0.3 +VERSION := 1.0.4 DIST_DIR := ../../dist diff --git a/packaging/npm/lefthook-darwin-arm64/package.json b/packaging/npm/lefthook-darwin-arm64/package.json index 8b09b42b..3a892f70 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.0.3", + "version": "1.0.4", "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 dc5e9450..8c1807d1 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.0.3", + "version": "1.0.4", "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-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index d2429fb5..f0bed3a4 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.0.3", + "version": "1.0.4", "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 798f412f..7afb3333 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.0.3", + "version": "1.0.4", "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 60c88443..90c65214 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.0.3", + "version": "1.0.4", "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 6059909f..25c9f6f3 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.0.3", + "version": "1.0.4", "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 53f72cf3..d753a7b5 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.0.3", + "version": "1.0.4", "description": "Simple git hooks manager", "main": "index.js", "repository": "https://github.com/evilmartians/lefthook", @@ -20,11 +20,11 @@ }, "homepage": "https://github.com/evilmartians/lefthook#readme", "optionalDependencies": { - "lefthook-darwin-arm64": "1.0.3", - "lefthook-darwin-x64": "1.0.3", - "lefthook-linux-arm64": "1.0.3", - "lefthook-linux-x64": "1.0.3", - "lefthook-windows-arm64": "1.0.3", - "lefthook-windows-x64": "1.0.3" + "lefthook-darwin-arm64": "1.0.4", + "lefthook-darwin-x64": "1.0.4", + "lefthook-linux-arm64": "1.0.4", + "lefthook-linux-x64": "1.0.4", + "lefthook-windows-arm64": "1.0.4", + "lefthook-windows-x64": "1.0.4" } } diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index e78f2ce4..35646127 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.0.3" + spec.version = "1.0.4" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]