Procházet zdrojové kódy

use unique sauce build ID during releases, add sauce badge

Evan You před 10 roky
rodič
revize
589e644530
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      README.md
  2. 1 1
      build/release.sh

+ 1 - 1
README.md

@@ -1,4 +1,4 @@
-# vue-next [![CircleCI](https://img.shields.io/circleci/project/vuejs/vue/next.svg?maxAge=2592000)](https://circleci.com/gh/vuejs/vue/tree/next) [![Coverage](https://img.shields.io/codecov/c/github/vuejs/vue/next.svg)](https://codecov.io/gh/vuejs/vue/branch/next)
+# vue-next [![CircleCI](https://img.shields.io/circleci/project/vuejs/vue/next.svg?maxAge=2592000)](https://circleci.com/gh/vuejs/vue/tree/next) [![Coverage](https://img.shields.io/codecov/c/github/vuejs/vue/next.svg)](https://codecov.io/gh/vuejs/vue/branch/next) [![Sauce Labs](https://saucelabs.com/open_sauce/build_status/vuejs.svg)](https://saucelabs.com/beta/builds/03f78da5c56a4e61bb80c61f1c01d7d8)
 
 > pre-alpha state, use at your own risk. For the time being, check out the [announcement post](https://medium.com/the-vue-point/announcing-vue-js-2-0-8af1bde7ab9#.jylu9wz4y) and the [feature comparison with 1.0](https://github.com/vuejs/vue/wiki/2.0-features).
 

+ 1 - 1
build/release.sh

@@ -7,7 +7,7 @@ echo    # (optional) move to a new line
 if [[ $REPLY =~ ^[Yy]$ ]]
 then
   echo "Releasing $VERSION ..."
-  export SAUCE_BUILD_ID=$VERSION
+  export SAUCE_BUILD_ID=$VERSION:`date +"%s"`
 
   npm run lint
   npm run flow