Skip to content

Commit e272e4f

Browse files
committed
2.0.15: skip scripts when file template is empty in args
1 parent ccacdf7 commit e272e4f

23 files changed

Lines changed: 37 additions & 32 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change log
22

3+
## 2.0.15 (2026-01-13)
4+
5+
- docs: clarify remote settings ([#1260](https://github.com/evilmartians/lefthook/pull/1260)) by [@mrexox](https://github.com/mrexox)
6+
- feat: skip scripts if args given with empty file template ([#1277](https://github.com/evilmartians/lefthook/pull/1277)) by [@mrexox](https://github.com/mrexox)
7+
38
## 2.0.14 (2026-01-12)
49

510
- fix: skip if any files template is empty ([#1275](https://github.com/evilmartians/lefthook/pull/1275)) by [@mrexox](https://github.com/mrexox)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
2222
With **Go** (>= 1.25):
2323

2424
```bash
25-
go install github.com/evilmartians/lefthook/v2@v2.0.14
25+
go install github.com/evilmartians/lefthook/v2@v2.0.15
2626
```
2727

2828
* or as a go tool

docs/mdbook/installation/go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The minimum Go version required is 1.25 and you can install
55
- as global package
66

77
```bash
8-
go install github.com/evilmartians/lefthook/v2@v2.0.14
8+
go install github.com/evilmartians/lefthook/v2@v2.0.15
99
```
1010

1111
- or as a go tool in your project

docs/mdbook/installation/swift.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook
55
Utilize lefthook in your Swift project using Swift Package Manager:
66

77
```swift
8-
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "2.0.14"),
8+
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "2.0.15"),
99
```
1010

1111
Or, with [mint](https://github.com/yonaskolb/Mint):

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"golang.org/x/mod/semver"
77
)
88

9-
const version = "2.0.14"
9+
const version = "2.0.15"
1010

1111
var (
1212
// Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}.

packaging/aur/lefthook-bin/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pkgname=lefthook-bin
44
pkgdesc="Git hooks manager"
5-
pkgver=2.0.14
5+
pkgver=2.0.15
66
pkgrel=1
77
arch=('x86_64' 'aarch64')
88
url="https://github.com/evilmartians/lefthook"

packaging/aur/lefthook/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pkgname=lefthook
44
pkgdesc="Git hooks manager"
5-
pkgver=2.0.14
5+
pkgver=2.0.15
66
pkgrel=1
77
arch=('x86_64' 'aarch64')
88
url="https://github.com/evilmartians/lefthook"

packaging/npm-bundled/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evilmartians/lefthook",
3-
"version": "2.0.14",
3+
"version": "2.0.15",
44
"description": "Simple git hooks manager",
55
"main": "bin/index.js",
66
"files": [

packaging/npm-installer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evilmartians/lefthook-installer",
3-
"version": "2.0.14",
3+
"version": "2.0.15",
44
"description": "Simple git hooks manager",
55
"main": "bin/index.js",
66
"files": [

packaging/npm/lefthook-darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lefthook-darwin-arm64",
3-
"version": "2.0.14",
3+
"version": "2.0.15",
44
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
66
"repository": {

0 commit comments

Comments
 (0)