diff --git a/scripts/hooks/post-commit b/scripts/hooks/post-commit index 59e70af..7b0c6e8 100755 --- a/scripts/hooks/post-commit +++ b/scripts/hooks/post-commit @@ -5,6 +5,8 @@ cd "$project_root"/src || exit echo "post-commit: Checking version numbers" packwiz_version=$(grep '^version =' pack.toml | awk -F'=' '{print $2}' | tr -d '"') bcc_version=$(grep 'modpackVersion =' config/bcc-common.toml | awk -F'=' '{print $2}' | tr -d '"') +echo "post-commit: Packwiz version: $packwiz_version" +echo "post-commit: BCC version: $bcc_version" if [ "$packwiz_version" != "$bcc_version" ]; then echo "post-commit: Version numbers do not match, updating config/bcc-common.toml"