aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/post-release.sh
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2024-07-17 09:55:25 -0400
committerTimmy Willison <timmywil@users.noreply.github.com>2024-07-17 10:00:13 -0400
commitbe048a027d0581746f71df7c8eb3ce1d9bd10a40 (patch)
tree6ef8dc073a39d5f5400ffb9fb51ebc8811f07940 /build/release/post-release.sh
parent51fffe9f7395f86fb24c59115c9b98855c39fc07 (diff)
downloadjquery-be048a027d0581746f71df7c8eb3ce1d9bd10a40.tar.gz
jquery-be048a027d0581746f71df7c8eb3ce1d9bd10a40.zip
Release: remove dist files from main branch
Diffstat (limited to 'build/release/post-release.sh')
-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