mirror of
https://github.com/twitter/twemoji.git
synced 2025-04-29 02:47:25 +09: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…
x
Reference in New Issue
Block a user