Don't fail deploy script on empty working tree

pull/493/head
Justine De Caires 2021-06-01 00:57:22 -07:00
parent a5be32144e
commit d314f3da80
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
git add latest
fi
git commit -q -m "Publish v$VERSION"
git diff-index --quiet HEAD || git commit -q -m "Publish v$VERSION"
git push origin $PUBLISH_BRANCH
popd