From 558810ab83f47b59507765552673fd0b687155f2 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Fri, 21 Jun 2024 16:43:02 +0100 Subject: [PATCH] include husky change to the commit --- .husky/pre-commit | 4 ++++ version/git-version.ts | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 2a1952310..7e311aa7e 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -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 . diff --git a/version/git-version.ts b/version/git-version.ts index 61f9dabb8..6bf70adfb 100644 --- a/version/git-version.ts +++ b/version/git-version.ts @@ -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 ...\" 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 ...\" to update what will be committed)\n (use \"git restore ...\" 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 ...\" to unstage)\n\tmodified: .husky/pre-commit\n\tmodified: version/git-version.ts", "changeAuthor": "peter.maquiran" } \ No newline at end of file