From 44e47c25a9f688bc9692786be471c98af798223e Mon Sep 17 00:00:00 2001 From: Martin Marosi Date: Mon, 12 Aug 2024 14:25:24 +0200 Subject: [PATCH] Version debugging --- .gitignore | 3 ++- build/template_check.sh | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8b6f4440..62980a49 100644 --- a/.gitignore +++ b/.gitignore @@ -41,4 +41,5 @@ node_modules artifacts/ # IDE extras -.vscode/ \ No newline at end of file +.vscode/ +build/.build_venv diff --git a/build/template_check.sh b/build/template_check.sh index fb1013b5..128194a7 100755 --- a/build/template_check.sh +++ b/build/template_check.sh @@ -5,11 +5,16 @@ set -exv python3 -m venv "build/.build_venv" source build/.build_venv/bin/activate pip install pyyaml +pip freeze | grep pyyaml CURRENT_DEPLOY=$(md5sum deploy.yml) +cat deploy.yml + make build-template +cat deploy.yml + if [[ $CURRENT_DEPLOY != $(md5sum deploy.yml) ]]; then echo "Deployment template not updated. Please run make build-template and recommit" exit 1