Selaa lähdekoodia

build: update release script

Evan You 8 vuotta sitten
vanhempi
commit
83037828d7
1 muutettua tiedostoa jossa 7 lisäystä ja 5 poistoa
  1. 7 5
      build/release.sh

+ 7 - 5
build/release.sh

@@ -12,11 +12,13 @@ echo
 if [[ $REPLY =~ ^[Yy]$ ]]; then
   echo "Releasing $VERSION ..."
 
-  npm run lint
-  npm run flow
-  npm run test:cover
-  npm run test:e2e
-  npm run test:ssr
+  if [[ -z $SKIP_TESTS ]]; then
+    npm run lint
+    npm run flow
+    npm run test:cover
+    npm run test:e2e
+    npm run test:ssr
+  fi
 
   if [[ -z $SKIP_SAUCE ]]; then
     export SAUCE_BUILD_ID=$VERSION:`date +"%s"`