Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-09-18 21:49:18 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-09-20 12:54:34 +0300
commit252e538985613c99bf6a327039604412c30851c7 (patch)
tree1203bba9b6d7b71e28de1f1bbfb17f1c2bcffa4d /package.json
parente1b7404bb8cc6f1c142903fc0917993077a3a070 (diff)
Make release-zip include the root folder.
Also, now it should work cross-platform assuming `zip` is present.
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index b39a3c70a9..fa29158565 100644
--- a/package.json
+++ b/package.json
@@ -71,7 +71,7 @@
"maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo \"Manually update site/docs/4.1/assets/js/vendor/*, js/tests/vendor/* and .travis.yml\"",
"release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
- "release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
+ "release-zip": "cross-env-shell \"shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
"dist": "npm-run-all --parallel css js",
"test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
"watch": "npm-run-all --parallel watch-*",