From cdab56d940b3c4c9714005aa3caa8842f3e4e8c3 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 23 Nov 2017 10:22:54 +0200 Subject: Add a simple script to generate SRI hashes for our assets. (#24814) --- build/ship.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/ship.sh') diff --git a/build/ship.sh b/build/ship.sh index cdd5ab8eb..d252cd38f 100755 --- a/build/ship.sh +++ b/build/ship.sh @@ -40,6 +40,12 @@ printf "\n${magenta}Compile latest CSS and JS...${end}" printf "\n${magenta}=======================================================\n${end}" npm run dist +# Generate the SRI hashes +printf "\n${magenta}=======================================================${end}" +printf "\n${magenta}Generate the SRI hashes...${end}" +printf "\n${magenta}=======================================================\n${end}" +npm run release-sri + # Compress the dist files printf "\n${magenta}=======================================================${end}" printf "\n${magenta}Compressing the dist files...${end}" -- cgit v1.2.3