mirror of
https://github.com/twitter/twemoji.git
synced 2024-11-04 17:29:53 +00:00
Only move the latest link for full versions
This commit is contained in:
parent
13e9f3b9e2
commit
2fc521b1d3
@ -24,9 +24,11 @@ fi
|
||||
cp -r $DIST $VERSION
|
||||
git add $VERSION
|
||||
|
||||
rm latest
|
||||
ln -s $VERSION latest
|
||||
git add latest
|
||||
if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
rm latest
|
||||
ln -s $VERSION latest
|
||||
git add latest
|
||||
fi
|
||||
|
||||
git commit -q -m "Publish v$VERSION"
|
||||
git push origin $PUBLISH_BRANCH
|
||||
|
Loading…
Reference in New Issue
Block a user