Skip to content

Commit

Permalink
fix: rollback packaging changes (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jul 19, 2024
1 parent 3df0ede commit fb6219a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion internal/templates/hook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ call_lefthook()
mint run csjones/lefthook-plugin "$@"
elif command -v npx >/dev/null 2>&1
then
npx lefthook-${osArch}-${cpuArch} "$@"
npx lefthook "$@"
else
echo "Can't find lefthook in PATH"
{{- if .AssertLefthookInstalled}}
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-darwin-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-darwin-arm64",
"version": "1.7.3",
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-darwin-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-darwin-x64",
"version": "1.7.3",
"description": "The macOS 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-freebsd-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-freebsd-arm64",
"version": "1.7.3",
"description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-freebsd-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-freebsd-x64",
"version": "1.7.3",
"description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-linux-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-linux-arm64",
"version": "1.7.3",
"description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-linux-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-linux-x64",
"version": "1.7.3",
"description": "The Linux 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-windows-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-windows-arm64",
"version": "1.7.3",
"description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packaging/npm/lefthook-windows-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "lefthook-windows-x64",
"version": "1.7.3",
"description": "The Windows 64-bit binary for lefthook, git hooks manager.",
"bin": {
"lefthook": "bin/lefthook"
},
"preferUnplugged": false,
"repository": "https://github.com/evilmartians/lefthook",
"license": "MIT",
Expand Down

0 comments on commit fb6219a

Please sign in to comment.