mirror of
https://github.com/twitter/twemoji.git
synced 2024-11-02 20:32: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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user