aboutsummaryrefslogtreecommitdiffstats
path: root/build/release
diff options
context:
space:
mode:
Diffstat (limited to 'build/release')
-rw-r--r--build/release/post-release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/release/post-release.sh b/build/release/post-release.sh
index 03bdbde1e..2bc4e2657 100644
--- a/build/release/post-release.sh
+++ b/build/release/post-release.sh
@@ -51,6 +51,8 @@ git add package.json
# Leave the tmp folder as some files are needed
# after the release (such as for emailing archives).
npm run build:clean
+git rm --cached -r dist/ dist-module
+git add dist/package.json dist/wrappers dist-module/package.json dist-module/wrappers
git commit -m "Release: remove dist files from main branch"
# Wait for confirmation from user to push changes