include husky change to the commit

This commit is contained in:
Peter Maquiran
2024-06-21 16:43:02 +01:00
parent 01530505c9
commit 558810ab83
2 changed files with 10 additions and 6 deletions
+4
View File
@@ -1,4 +1,8 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# Run the node script
node version/git-version.js
# Add the changes made by the script
git add .
+6 -6
View File
@@ -1,11 +1,11 @@
export let versionData = {
"shortSHA": "4d400e1f8",
"SHA": "4d400e1f8b8b8354f5fa9e71986815e684de517c",
"shortSHA": "01530505c",
"SHA": "01530505c959ebfe9b9142c8c9a6de009efa9632",
"branch": "feature/agenda-api-peter",
"lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Fri Jun 21 14:35:50 2024 +0100'",
"lastCommitMessage": "add husky",
"lastCommitNumber": "5832",
"changeStatus": "On branch feature/agenda-api-peter\nYour branch is ahead of 'origin/feature/agenda-api-peter' by 3 commits.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: .husky/pre-commit\n\tmodified: version/git-version.js\n\tmodified: version/git-version.ts\n\nChanges not staged for commit:\n (use \"git add <file>...\" to update what will be committed)\n (use \"git restore <file>...\" to discard changes in working directory)\n\tmodified: version/git-version.ts",
"lastCommitTime": "'Fri Jun 21 16:38:19 2024 +0100'",
"lastCommitMessage": "ITOTEAM-527 permission and attachment count",
"lastCommitNumber": "5834",
"changeStatus": "On branch feature/agenda-api-peter\nYour branch is ahead of 'origin/feature/agenda-api-peter' by 5 commits.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: .husky/pre-commit\n\tmodified: version/git-version.ts",
"changeAuthor": "peter.maquiran"
}