diff --git a/5etools-docker/init.sh b/5etools-docker/init.sh index b2e82ac8..3ce6d4ea 100644 --- a/5etools-docker/init.sh +++ b/5etools-docker/init.sh @@ -64,6 +64,10 @@ case $SOURCE in git fetch git pull VERSION=$(jq -r .version package.json) # Get version from package.json + if [[ `git status --porcelain` ]]; then + git restore . + fi + echo " === Starting version $VERSION" httpd-foreground ;;