mirror of
https://github.com/twitter/twemoji.git
synced 2024-07-01 02:19:09 +00:00
Don't fail deploy script on empty working tree
This commit is contained in:
parent
a5be32144e
commit
d314f3da80
|
@ -30,7 +30,7 @@ if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
git add latest
|
git add latest
|
||||||
fi
|
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
|
git push origin $PUBLISH_BRANCH
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user