Skip to content

Commit

Permalink
1.3.0: Skip unstaged files, fix {push_files} template
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>
  • Loading branch information
mrexox committed Feb 22, 2023
1 parent 88fb8e8 commit 37fd2db
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 22 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## master (unreleased)

## 1.3.0 (2023-02-22)

- fix: Use correct branch for {push_files} template ([#429](https://github.com/evilmartians/lefthook/pull/429)) by @mrexox
- feature: Skip unstaged changes for pre-commit hook ([#402](https://github.com/evilmartians/lefthook/pull/402)) by @mrexox

## 1.2.9 (2023-02-13)

- fix: memory leak dependency ([#426](https://github.com/evilmartians/lefthook/pull/426)) by @strpc
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
)

const version = "1.2.9"
const version = "1.3.0"

var (
// Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}.
Expand Down
2 changes: 1 addition & 1 deletion packaging/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Packages version to release
VERSION := 1.2.9
VERSION := 1.3.0

DIST_DIR := ../dist

Expand Down
2 changes: 1 addition & 1 deletion packaging/npm-bundled/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evilmartians/lefthook",
"version": "1.2.9",
"version": "1.3.0",
"description": "Simple git hooks manager",
"main": "index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm-installer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evilmartians/lefthook-installer",
"version": "1.2.9",
"version": "1.3.0",
"description": "Simple git hooks manager",
"main": "index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-darwin-arm64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-darwin-x64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The macOS 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-freebsd-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-freebsd-arm64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-freebsd-x64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-linux-arm64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-linux-x64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The Linux 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-windows-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-windows-arm64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
2 changes: 1 addition & 1 deletion packaging/npm/lefthook-windows-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook-windows-x64",
"version": "1.2.9",
"version": "1.3.0",
"description": "The Windows 64-bit binary for lefthook, git hooks manager.",
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
Expand Down
18 changes: 9 additions & 9 deletions packaging/npm/lefthook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lefthook",
"version": "1.2.9",
"version": "1.3.0",
"description": "Simple git hooks manager",
"main": "index.js",
"repository": "https://github.com/evilmartians/lefthook",
Expand All @@ -20,14 +20,14 @@
},
"homepage": "https://github.com/evilmartians/lefthook#readme",
"optionalDependencies": {
"lefthook-darwin-arm64": "1.2.9",
"lefthook-darwin-x64": "1.2.9",
"lefthook-linux-arm64": "1.2.9",
"lefthook-linux-x64": "1.2.9",
"lefthook-freebsd-arm64": "1.2.9",
"lefthook-freebsd-x64": "1.2.9",
"lefthook-windows-arm64": "1.2.9",
"lefthook-windows-x64": "1.2.9"
"lefthook-darwin-arm64": "1.3.0",
"lefthook-darwin-x64": "1.3.0",
"lefthook-linux-arm64": "1.3.0",
"lefthook-linux-x64": "1.3.0",
"lefthook-freebsd-arm64": "1.3.0",
"lefthook-freebsd-x64": "1.3.0",
"lefthook-windows-arm64": "1.3.0",
"lefthook-windows-x64": "1.3.0"
},
"scripts": {
"postinstall": "node postinstall.js"
Expand Down
2 changes: 1 addition & 1 deletion packaging/rubygems/lefthook.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "lefthook"
spec.version = "1.2.9"
spec.version = "1.3.0"
spec.authors = ["A.A.Abroskin", "Evil Martians"]
spec.email = ["lefthook@evilmartians.com"]

Expand Down

0 comments on commit 37fd2db

Please sign in to comment.