diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-09-18 21:49:18 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-09-20 12:54:34 +0300 |
commit | 252e538985613c99bf6a327039604412c30851c7 (patch) | |
tree | 1203bba9b6d7b71e28de1f1bbfb17f1c2bcffa4d /package.json | |
parent | e1b7404bb8cc6f1c142903fc0917993077a3a070 (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.json | 2 |
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-*", |