docs/quorum-key-management/get-commit-hash.sh

8 lines
142 B
Bash

#!/bin/bash
COMMIT_HASH=$(git rev-parse --short HEAD)
echo "Commit Hash: $COMMIT_HASH" > src/commit_hash.md
# Build the mdBook
mdbook build