@mihairo/cmt 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cmt +3 -1
  2. package/package.json +1 -1
package/cmt CHANGED
@@ -6,7 +6,7 @@
6
6
  # =============================================================================
7
7
  set -euo pipefail
8
8
 
9
- CMT_VERSION="1.1.4" # x-release-please-version
9
+ CMT_VERSION="1.1.5" # x-release-please-version
10
10
  CMT_CONFIG_FILE=".cmt.json"
11
11
  CMT_SCHEMA_URL="https://raw.githubusercontent.com/mihai-ro/cmt/main/schema/cmt.schema.json"
12
12
 
@@ -708,6 +708,7 @@ _hook_snippet() {
708
708
  for _p in "${_cmt_path}" "\$HOME/.local/bin/cmt" "/usr/local/bin/cmt" "/opt/homebrew/bin/cmt"; do
709
709
  [ -x "\$_p" ] && { "\$_p" commit --write-only > "\$1"; exit 0; }
710
710
  done
711
+ exit 0
711
712
  # <<< cmt
712
713
  SNIPPET
713
714
  }
@@ -720,6 +721,7 @@ _lint_snippet() {
720
721
  for _p in "${_cmt_path}" "\$HOME/.local/bin/cmt" "/usr/local/bin/cmt" "/opt/homebrew/bin/cmt"; do
721
722
  [ -x "\$_p" ] && { "\$_p" lint "\$1"; exit \$?; }
722
723
  done
724
+ exit 0
723
725
  # <<< cmt-lint
724
726
  SNIPPET
725
727
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mihairo/cmt",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Zero-dependency conventional commits CLI — interactive picker, linter, and git hook installer. One bash script, works in any repo.",
5
5
  "keywords": [
6
6
  "conventional-commits",