mirror of
https://github.com/twitter/twemoji.git
synced 2024-12-26 00:15:54 +00:00
Update the 'latest' symlink when deploying
This commit is contained in:
parent
408f414738
commit
635dfd8f32
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user