Merge pull request #194 from ZeusWPI/chore/stamp-db-after-init

Make sure to stamp database at latest revision after setup
This commit is contained in:
redfast00 2022-05-24 20:36:52 +02:00 committed by GitHub
commit 2c4a288d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,3 +4,6 @@ set -euo pipefail
cd "$(dirname "$0")/app"
env python create_database.py setup_database
latest_revision=$(env python app.py db heads | sed "s/ (head)$//")
echo Stamping db at $latest_revision
env python app.py db stamp $latest_revision