Skip to content

Commit

Permalink
Version debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Aug 13, 2024
1 parent ba819e5 commit 44e47c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ node_modules
artifacts/

# IDE extras
.vscode/
.vscode/
build/.build_venv
5 changes: 5 additions & 0 deletions build/template_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44e47c2

Please sign in to comment.