From 635dfd8f32917d9327ab1d087b0c708a15f01f61 Mon Sep 17 00:00:00 2001 From: Nathan Downs Date: Mon, 1 Jul 2019 16:41:06 -0700 Subject: [PATCH] Update the 'latest' symlink when deploying --- scripts/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index ba7b77c9..43195bdb 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -23,6 +23,11 @@ fi # Create new version folder out of dist/ mv -f $DIST $VERSION git add $VERSION + +rm latest +ln -s $VERSION latest +git add latest + git commit -q -m "Publish v$VERSION" git push origin $PUBLISH_BRANCH popd