feat: skel version check

This commit is contained in:
Strix 2023-11-06 18:12:41 +01:00
parent b255a34f40
commit 50519ea3d6
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -12,6 +12,13 @@ if cd /etc/ixvd/secrets; then
fi fi
git pull git pull
if ! [ "$(cat ./skel/etc/ixvd/version)" = "$(cat /etc/ixvd/version)" ]; then
echo "WARNING: IXVD SKELETON VERSION CHANGED!"
echo "WARNING: Manual intervention is required."
exit 1
fi
./tools/server-setup.sh ./tools/server-setup.sh
./tools/server-docker-compose.sh build --pull ./tools/server-docker-compose.sh build --pull
./tools/server-docker-compose.sh pull ./tools/server-docker-compose.sh pull