From 05325cf79957abcd784ece8aef008b76347ced1f Mon Sep 17 00:00:00 2001 From: Nathan Downs Date: Tue, 2 Jul 2019 10:11:57 -0700 Subject: [PATCH] Copy the dist file so that it's still there when we want to publish --- scripts/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 43195bdb..799371b9 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -20,8 +20,8 @@ pushd "v/" if [ -d $VERSION ]; then rm -r $VERSION fi -# Create new version folder out of dist/ -mv -f $DIST $VERSION + +cp -r $DIST $VERSION git add $VERSION rm latest