Skip to content

Commit 635dfd8

Browse files
author
Nathan Downs
committed
Update the 'latest' symlink when deploying
1 parent 408f414 commit 635dfd8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ fi
2323
# Create new version folder out of dist/
2424
mv -f $DIST $VERSION
2525
git add $VERSION
26+
27+
rm latest
28+
ln -s $VERSION latest
29+
git add latest
30+
2631
git commit -q -m "Publish v$VERSION"
2732
git push origin $PUBLISH_BRANCH
2833
popd

0 commit comments

Comments
 (0)