Closed vatai closed 4 years ago
I guess the most straight forward way to do this is to rename the log files to include the checksum.
*.log
The ingredients: How to check if the directory working directory is clean: https://unix.stackexchange.com/questions/155046/determine-if-git-working-directory-is-clean-from-a-script
To get the (short) checksum: git log -1 --oneline | cut -c-7
git log -1 --oneline | cut -c-7
Maybe also make a *.log_latest copy and compare the test_builds.sh generated logs with the "latest correct" log files.
*.log_latest
test_builds.sh
I guess the most straight forward way to do this is to rename the log files to include the checksum.
*.log
files.The ingredients: How to check if the directory working directory is clean: https://unix.stackexchange.com/questions/155046/determine-if-git-working-directory-is-clean-from-a-script
To get the (short) checksum:
git log -1 --oneline | cut -c-7