Skip to content

Commit

Permalink
fix: pre-commmit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Feb 10, 2025
1 parent 73c2ff6 commit 113a12d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
export MSYS=winsymlinks:nativestrict
export MSYS2=winsymlinks:nativestrict

# Get the commit message from the staged commit
COMMIT_MSG=$(git log -1 --pretty=%B)
# Get the commit message from the commit being created
COMMIT_MSG=$(cat "$1")

# Get the current version from build.gradle.kts
CURRENT_VERSION=$(grep 'version = ' build.gradle.kts | sed 's/.*version = "\(.*\)".*/\1/')
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun getNpmVersion(): String {

allprojects {
group = "com.sphereon.oid.fed"
version = "0.4.13-SNAPSHOT"
version = "0.4.14-SNAPSHOT"
val npmVersion by extra { getNpmVersion() }

// Common repository configuration for all projects
Expand Down

0 comments on commit 113a12d

Please sign in to comment.