diff --git a/.npm/bin/lefthook-linux b/.npm/bin/lefthook-linux index fd958d10..bb1cacda 100755 Binary files a/.npm/bin/lefthook-linux and b/.npm/bin/lefthook-linux differ diff --git a/.npm/bin/lefthook-mac b/.npm/bin/lefthook-mac index b96fc6c8..3e7c5e82 100755 Binary files a/.npm/bin/lefthook-mac and b/.npm/bin/lefthook-mac differ diff --git a/.npm/bin/lefthook-win.exe b/.npm/bin/lefthook-win.exe index f1b861a5..9aed643b 100755 Binary files a/.npm/bin/lefthook-win.exe and b/.npm/bin/lefthook-win.exe differ diff --git a/.npm/package.json b/.npm/package.json index 2905100b..bffbebec 100644 --- a/.npm/package.json +++ b/.npm/package.json @@ -1,6 +1,6 @@ { "name": "@arkweid/lefthook", - "version": "0.6.6", + "version": "0.6.7", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/.rubygems/lefthook.gemspec b/.rubygems/lefthook.gemspec index 53b717be..ca53da91 100644 --- a/.rubygems/lefthook.gemspec +++ b/.rubygems/lefthook.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "lefthook" - spec.version = "0.6.6" + spec.version = "0.6.7" spec.authors = ["A.A.Abroskin"] spec.email = ["arkweid@evilmartians.com"] diff --git a/.rubygems/libexec/lefthook-linux b/.rubygems/libexec/lefthook-linux index fd958d10..bb1cacda 100755 Binary files a/.rubygems/libexec/lefthook-linux and b/.rubygems/libexec/lefthook-linux differ diff --git a/.rubygems/libexec/lefthook-mac b/.rubygems/libexec/lefthook-mac index b96fc6c8..3e7c5e82 100755 Binary files a/.rubygems/libexec/lefthook-mac and b/.rubygems/libexec/lefthook-mac differ diff --git a/.rubygems/libexec/lefthook-win.exe b/.rubygems/libexec/lefthook-win.exe index f1b861a5..9aed643b 100755 Binary files a/.rubygems/libexec/lefthook-win.exe and b/.rubygems/libexec/lefthook-win.exe differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 51d22143..68b2c502 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ ## master (unreleased) +# 0.6.7 (2019-12-14) + +- [Commit](https://github.com/Arkweid/lefthook/commit/e898b5c8ba56c4d6f29a4d1f433baa1779a0845b) +Skip before executing command + +- [PR](https://github.com/Arkweid/lefthook/pull/94) Add option --keep-config. Thanks @justinasposiunas + +- [Commit](https://github.com/Arkweid/lefthook/commit/d79a3a46e7d1ee709b97e97f823bfd27e9466eff) +Check if shell is non interactive + +# 0.6.6 (2019-12-03) + +- [PR](https://github.com/Arkweid/lefthook/pull/94) Use eval instead of exec; Enable tty for the shell. Thanks @ssnickolay + # 0.6.5 (2019-11-15) - [PR](https://github.com/Arkweid/lefthook/pull/89) Add support for git-worktree. Thanks @f440 diff --git a/cmd/version.go b/cmd/version.go index 567d18e3..ae265bc2 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -7,7 +7,7 @@ import ( ) const ( - version string = "0.6.6" + version string = "0.6.7" ) // versionCmd represents the version command diff --git a/go.mod b/go.mod index 669f14a7..b16024f0 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/Arkweid/lefthook require ( github.com/Arkweid/hookah v0.2.3 // indirect github.com/adam-hanna/arrayOperations v0.2.5 + github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053 // indirect github.com/creack/pty v1.1.9 github.com/gobwas/glob v0.2.3 github.com/kr/pty v1.1.5 diff --git a/go.sum b/go.sum index 961568ed..7c958cb4 100644 --- a/go.sum +++ b/go.sum @@ -2,6 +2,8 @@ github.com/Arkweid/hookah v0.2.3 h1:lgCCPx30MWvpAlR7+lKKV7rcU/K4n0MqNdr/Ma84hZQ= github.com/Arkweid/hookah v0.2.3/go.mod h1:fRK54zb9i3noV9+fSwIR0BooxdfDzi2apO5uREcIzy8= github.com/adam-hanna/arrayOperations v0.2.5 h1:zphKpB5HGhHDkztF2oLcvnqIAu/L/YU3FB/9UghdsO0= github.com/adam-hanna/arrayOperations v0.2.5/go.mod h1:PhqKQzzPMRjFcC4Heh+kxha3nMvJ6lQNKuVEgoyimgU= +github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053 h1:H/GMMKYPkEIC3DF/JWQz8Pdd+Feifov2EIgGfNpeogI= +github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053/go.mod h1:xW8sBma2LE3QxFSzCnH9qe6gAE2yO9GvQaWwX89HxbE= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=