From e75c1cd03e643b26786205e516ac566404f7a02c Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 19 Dec 2024 22:05:41 +0300 Subject: [PATCH] 1.10.0: add jobs option --- CHANGELOG.md | 5 +++++ Makefile | 2 +- docs/install.md | 2 +- docs/mdbook/installation/swift.md | 2 +- internal/version/version.go | 2 +- packaging/aur/PKGBUILD | 2 +- packaging/npm-bundled/package.json | 2 +- packaging/npm-installer/package.json | 2 +- .../npm/lefthook-darwin-arm64/package.json | 2 +- .../npm/lefthook-darwin-x64/package.json | 2 +- .../npm/lefthook-freebsd-arm64/package.json | 2 +- .../npm/lefthook-freebsd-x64/package.json | 2 +- .../npm/lefthook-linux-arm64/package.json | 2 +- packaging/npm/lefthook-linux-x64/package.json | 2 +- .../npm/lefthook-openbsd-arm64/package.json | 2 +- .../npm/lefthook-openbsd-x64/package.json | 2 +- .../npm/lefthook-windows-arm64/package.json | 2 +- .../npm/lefthook-windows-x64/package.json | 2 +- packaging/npm/lefthook/package.json | 22 +++++++++---------- packaging/pack.rb | 2 +- packaging/pypi/setup.py | 2 +- packaging/rubygems/lefthook.gemspec | 2 +- 22 files changed, 36 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0938e71..9890e460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log +## 1.10.0 (2024-12-19) + +- feat: add jobs option ([#861](https://github.com/evilmartians/lefthook/pull/861)) by @mrexox +- ci: automate aur package update ([#899](https://github.com/evilmartians/lefthook/pull/899)) by @mrexox + ## 1.9.3 (2024-12-18) - fix: correctly parse config options ([#895](https://github.com/evilmartians/lefthook/pull/895)) by @mrexox diff --git a/Makefile b/Makefile index 50a7d10d..76f86ef8 100644 --- a/Makefile +++ b/Makefile @@ -33,4 +33,4 @@ version: sed -i "s/lefthook-plugin.git\", exact: \".*\"/lefthook-plugin.git\", exact: \"$$version\"/" docs/install.md sed -i "s/lefthook-plugin.git\", exact: \".*\"/lefthook-plugin.git\", exact: \"$$version\"/" docs/mdbook/installation/swift.md ruby packaging/pack.rb clean set_version - git add internal/version/version.go packaging/* docs/install.md + git add internal/version/version.go packaging/* docs/ diff --git a/docs/install.md b/docs/install.md index d4cd0e29..81a86acc 100644 --- a/docs/install.md +++ b/docs/install.md @@ -80,7 +80,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.9.3"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.10.0"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/docs/mdbook/installation/swift.md b/docs/mdbook/installation/swift.md index 0f53c3a6..38d82c8f 100644 --- a/docs/mdbook/installation/swift.md +++ b/docs/mdbook/installation/swift.md @@ -5,7 +5,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.9.3"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.10.0"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index 6ecf8b68..a3d0d2fb 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.9.3" +const version = "1.10.0" var ( // Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}. diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD index cc81efb2..6d6411a1 100644 --- a/packaging/aur/PKGBUILD +++ b/packaging/aur/PKGBUILD @@ -2,7 +2,7 @@ pkgname=lefthook pkgdesc="Git hooks manager" -pkgver=1.9.3 +pkgver=1.10.0 pkgrel=1 arch=('x86_64' 'aarch64') url="https://github.com/evilmartians/lefthook" diff --git a/packaging/npm-bundled/package.json b/packaging/npm-bundled/package.json index 1d9c6708..d53e78ae 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.9.3", + "version": "1.10.0", "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 87564c6a..f0df05fb 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.9.3", + "version": "1.10.0", "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 dbc6570e..3d51a54a 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.9.3", + "version": "1.10.0", "description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-darwin-x64/package.json b/packaging/npm/lefthook-darwin-x64/package.json index 106fa7b5..aa29d98a 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.9.3", + "version": "1.10.0", "description": "The macOS 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-freebsd-arm64/package.json b/packaging/npm/lefthook-freebsd-arm64/package.json index 3881b9bb..ef7f0ec8 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.9.3", + "version": "1.10.0", "description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-freebsd-x64/package.json b/packaging/npm/lefthook-freebsd-x64/package.json index 8595ba17..16f4cf5a 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.9.3", + "version": "1.10.0", "description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index a369dfc6..d1cb1da9 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.9.3", + "version": "1.10.0", "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-linux-x64/package.json b/packaging/npm/lefthook-linux-x64/package.json index 8b70eff9..92b5b2d7 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.9.3", + "version": "1.10.0", "description": "The Linux 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-openbsd-arm64/package.json b/packaging/npm/lefthook-openbsd-arm64/package.json index 52b1beff..c6e0ec32 100644 --- a/packaging/npm/lefthook-openbsd-arm64/package.json +++ b/packaging/npm/lefthook-openbsd-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-openbsd-arm64", - "version": "1.9.3", + "version": "1.10.0", "description": "The OpenBSD ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-openbsd-x64/package.json b/packaging/npm/lefthook-openbsd-x64/package.json index 8a7fa5c2..4a8bbc99 100644 --- a/packaging/npm/lefthook-openbsd-x64/package.json +++ b/packaging/npm/lefthook-openbsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-openbsd-x64", - "version": "1.9.3", + "version": "1.10.0", "description": "The OpenBSD 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-windows-arm64/package.json b/packaging/npm/lefthook-windows-arm64/package.json index 25d7042e..3ae60be5 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.9.3", + "version": "1.10.0", "description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook-windows-x64/package.json b/packaging/npm/lefthook-windows-x64/package.json index a28d3f17..76f9dd3e 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.9.3", + "version": "1.10.0", "description": "The Windows 64-bit binary for lefthook, git hooks manager.", "preferUnplugged": false, "repository": { diff --git a/packaging/npm/lefthook/package.json b/packaging/npm/lefthook/package.json index d90d9eea..0d03c54b 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.9.3", + "version": "1.10.0", "description": "Simple git hooks manager", "repository": { "type": "git", @@ -23,16 +23,16 @@ }, "homepage": "https://github.com/evilmartians/lefthook#readme", "optionalDependencies": { - "lefthook-darwin-arm64": "1.9.3", - "lefthook-darwin-x64": "1.9.3", - "lefthook-linux-arm64": "1.9.3", - "lefthook-linux-x64": "1.9.3", - "lefthook-freebsd-arm64": "1.9.3", - "lefthook-freebsd-x64": "1.9.3", - "lefthook-openbsd-arm64": "1.9.3", - "lefthook-openbsd-x64": "1.9.3", - "lefthook-windows-arm64": "1.9.3", - "lefthook-windows-x64": "1.9.3" + "lefthook-darwin-arm64": "1.10.0", + "lefthook-darwin-x64": "1.10.0", + "lefthook-linux-arm64": "1.10.0", + "lefthook-linux-x64": "1.10.0", + "lefthook-freebsd-arm64": "1.10.0", + "lefthook-freebsd-x64": "1.10.0", + "lefthook-openbsd-arm64": "1.10.0", + "lefthook-openbsd-x64": "1.10.0", + "lefthook-windows-arm64": "1.10.0", + "lefthook-windows-x64": "1.10.0" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index 9ebc11be..1b81ff4d 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -3,7 +3,7 @@ require "fileutils" require "digest" -VERSION = "1.9.3" +VERSION = "1.10.0" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/pypi/setup.py b/packaging/pypi/setup.py index 2e824b6e..70c4d4f0 100644 --- a/packaging/pypi/setup.py +++ b/packaging/pypi/setup.py @@ -5,7 +5,7 @@ setup( name='lefthook', - version='1.9.3', + version='1.10.0', author='Evil Martians', author_email='lefthook@evilmartians.com', url='https://github.com/evilmartians/lefthook', diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index 9d9edfa5..bf2e0b58 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.9.3" + spec.version = "1.10.0" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]