1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-26 09:18:33 +00:00

Update the 'latest' symlink when deploying

This commit is contained in:
Nathan Downs 2019-07-01 16:41:06 -07:00
parent 408f414738
commit 635dfd8f32

View File

@ -23,6 +23,11 @@ fi
# Create new version folder out of dist/ # Create new version folder out of dist/
mv -f $DIST $VERSION mv -f $DIST $VERSION
git add $VERSION git add $VERSION
rm latest
ln -s $VERSION latest
git add latest
git commit -q -m "Publish v$VERSION" git commit -q -m "Publish v$VERSION"
git push origin $PUBLISH_BRANCH git push origin $PUBLISH_BRANCH
popd popd