From f83fbd79535f6db3df1d06b5950768c28ae5a7f9 Mon Sep 17 00:00:00 2001 From: Michael Prentice Date: Sat, 30 Mar 2019 02:27:23 -0500 Subject: [PATCH] chore(release): workaround npm issue where .git/ dir is published Fixes #11684 --- release.js | 1 + 1 file changed, 1 insertion(+) diff --git a/release.js b/release.js index 6404af5ed4..9951973857 100644 --- a/release.js +++ b/release.js @@ -251,6 +251,7 @@ 'git pull --rebase --strategy=ours', 'git push', 'git push --tags', + 'rm -rf .git/', 'npm publish', 'cd ..' );