1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-06-29 01:18:52 +00:00

Don't fail deploy script on empty working tree

This commit is contained in:
Justine De Caires 2021-06-01 00:57:22 -07:00
parent a5be32144e
commit d314f3da80

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