Improve handling for deleted or malformed files
This commit is contained in:
parent
a31d9d533b
commit
6361846e64
@ -64,6 +64,10 @@ case $SOURCE in
|
|||||||
git fetch
|
git fetch
|
||||||
git pull
|
git pull
|
||||||
VERSION=$(jq -r .version package.json) # Get version from package.json
|
VERSION=$(jq -r .version package.json) # Get version from package.json
|
||||||
|
if [[ `git status --porcelain` ]]; then
|
||||||
|
git restore .
|
||||||
|
fi
|
||||||
|
|
||||||
echo " === Starting version $VERSION"
|
echo " === Starting version $VERSION"
|
||||||
httpd-foreground
|
httpd-foreground
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user