Only move the latest link for full versions

pull/376/head
Nathan Downs 2019-07-02 10:23:42 -07:00
parent 13e9f3b9e2
commit 2fc521b1d3
1 changed files with 5 additions and 3 deletions

View File

@ -24,9 +24,11 @@ fi
cp -r $DIST $VERSION
git add $VERSION
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