deploy: current vibn theia state
Made-with: Cursor
This commit is contained in:
9
scripts/check_git_status.sh
Executable file
9
scripts/check_git_status.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
if [ $(git status --porcelain | wc -c) -gt 0 ];
|
||||
then
|
||||
echo "\nERR: The git repository state changed after the build, this should not happen.\n"
|
||||
git --no-pager diff
|
||||
echo "\nHINT: Did you update and commit your 'package-lock.json' ?"
|
||||
echo "\n You can also check your '.gitignore'."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user