Zip target

This commit is contained in:
Imbus 2024-05-05 13:28:08 +02:00
parent d0f2bd944d
commit 625b5874b1
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View file

@ -28,6 +28,7 @@ krusty.sqlite3
*.sqlite3
*.db
*.tar.gz
*.zip
*.minisig
*.jpg
*.pdf

View file

@ -28,6 +28,9 @@ release:
scp krusty-imbus_$(GITHASH).tar.gz server:/public/krusty/krusty-imbus_$(GITHASH).tar.gz
scp krusty-imbus_$(GITHASH).tar.gz.minisig server:/public/krusty/krusty-imbus_$(GITHASH).tar.gz.minisig
zip:
git archive --format=zip --output=krusty-imbus_$(GITHASH).zip HEAD
# Generate ERD. Requires eralchemy2 (pip install eralchemy2)
erd:
eralchemy2 -i sqlite:///app/krusty.db -o erd.jpg