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
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-10-13 16:45:17 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-10-14 07:51:40 +0300
commit4ce091b87fc6af56131761753ff99ec2fe5a42c6 (patch)
tree35a2189037e244099dc0b3e2cdfd408b30c47d6e /build
parent3fcddfa42e61ee7e6fe44aa2412ea7929ec799d0 (diff)
Add a release npm script.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/ship.sh24
1 files changed, 3 insertions, 21 deletions
diff --git a/build/ship.sh b/build/ship.sh
index e3b256e914..9b94d8bae9 100755
--- a/build/ship.sh
+++ b/build/ship.sh
@@ -34,29 +34,11 @@ printf "\n%sUpdating version number...%s" $magenta $end
printf "\n%s=======================================================\n%s" $magenta $end
npm run release-version "$current_version" "$1"
-# Compile latest CSS and JS
+# Build release
printf "\n%s=======================================================%s" $magenta $end
-printf "\n%sCompile latest CSS and JS...%s" $magenta $end
+printf "\n%sBuilding release..%s" $magenta $end
printf "\n%s=======================================================\n%s" $magenta $end
-npm run dist
-
-# Generate the SRI hashes
-printf "\n%s=======================================================%s" $magenta $end
-printf "\n%sGenerate the SRI hashes...%s" $magenta $end
-printf "\n%s=======================================================\n%s" $magenta $end
-npm run release-sri
-
-# Compress the dist files
-printf "\n%s=======================================================%s" $magenta $end
-printf "\n%sCompressing the dist files...%s" $magenta $end
-printf "\n%s=======================================================\n%s" $magenta $end
-npm run release-zip
-
-# Compile the docs
-printf "\n%s=======================================================%s" $magenta $end
-printf "\n%sCompile hosted documentation...%s" $magenta $end
-printf "\n%s=======================================================\n%s" $magenta $end
-npm run docs-github
+npm run release
# Copy the contents of the built docs site over to `bs-docs` repo
printf "\n%s=======================================================%s" $magenta $end