From a0644782e0a4c9c04b2860e4e58f76c1ea6ed77b Mon Sep 17 00:00:00 2001 From: Luis Deschamps Rudge Date: Fri, 13 Jul 2018 22:08:15 -0300 Subject: [PATCH 1/2] build folder wasn't being published in the tag --- scripts/ci.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ci.sh b/scripts/ci.sh index c51924e9..da95a67d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -54,10 +54,12 @@ bower_release() verbose "Deploying $VERSION to git" LAST_COMMIT=$(git log -1 --pretty=%B) - # removing dist from gitignore so it gets pushed to the tag + # removing dist/build from gitignore so it gets pushed to the tag grep -v -e '^dist$' -e '^dist/$' .gitignore > /tmp/.gitignore + grep -v -e '^build$' -e '^build/$' .gitignore > /tmp/.gitignore mv /tmp/.gitignore .gitignore git add --force dist/* + git add --force build/* git commit -am "$TAG_NAME" git tag "$TAG_NAME" -m "$LAST_COMMIT" git push origin $TAG_NAME From 0726d06b1c2e7f3d16634e7a68bf56c66fb53c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Rudge?= Date: Fri, 13 Jul 2018 22:17:22 -0300 Subject: [PATCH 2/2] Update ci.sh --- scripts/ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci.sh b/scripts/ci.sh index da95a67d..350574bb 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -54,7 +54,7 @@ bower_release() verbose "Deploying $VERSION to git" LAST_COMMIT=$(git log -1 --pretty=%B) - # removing dist/build from gitignore so it gets pushed to the tag + # removing dist and build folders from gitignore so it gets pushed to the tag grep -v -e '^dist$' -e '^dist/$' .gitignore > /tmp/.gitignore grep -v -e '^build$' -e '^build/$' .gitignore > /tmp/.gitignore mv /tmp/.gitignore .gitignore