From 5418f84f3bf20f762b49ae465bb03750dc7d8abb Mon Sep 17 00:00:00 2001 From: Dec-F Date: Tue, 24 Sep 2019 17:22:40 +0800 Subject: [PATCH] mc3 --- .travis.yml | 7 ++----- README.md | 4 ++++ app/app.html | 8 ++++---- package.json | 11 ++++++----- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index bf9481a..fe2489e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ +if: tag IS present matrix: allow_failures: + - os: linux - os: windows include: - os: osx @@ -77,8 +79,3 @@ before_script: script: - yarn package-ci - yarn lint - - yarn flow - # HACK: Temporarily ignore `yarn test` on linux - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then yarn test; fi - - yarn build-e2e - - yarn test-e2e diff --git a/README.md b/README.md index 36bf4db..9fc3da3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![Build Status](https://travis-ci.org/videomanagertools/scraper.svg?branch=master)](https://travis-ci.org/videomanagertools/scraper) +![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/videomanagertools/scraper/master) +![GitHub Release Date](https://img.shields.io/github/release-date/videomanagertools/scraper) + 操作动图 ![gifhome_640x363_30s (1)](https://user-images.githubusercontent.com/20250430/65373590-3dc32780-dcb2-11e9-87a1-b946beb26996.gif) diff --git a/app/app.html b/app/app.html index a8371cb..8d7b33a 100644 --- a/app/app.html +++ b/app/app.html @@ -1,8 +1,8 @@ - - Hello Electron React! + + uScraper @@ -30,7 +30,7 @@ // Dynamically insert the bundled app script in the renderer process const port = process.env.PORT || 1212; scripts.push( - (process.env.HOT) + process.env.HOT ? 'http://localhost:' + port + '/dist/renderer.dev.js' : './dist/renderer.prod.js' ); diff --git a/package.json b/package.json index 4b40e0d..2be41b9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint-styles-fix": "yarn --silent lint-styles --fix; exit 0", "package": "yarn build && electron-builder build --publish never", "package-all": "yarn build && electron-builder build -mwl", - "package-ci": "yarn postinstall && yarn build && electron-builder --publish always", + "package-ci": "yarn postinstall && yarn build && electron-builder --publish onTag", "package-linux": "yarn build && electron-builder build --linux", "package-win": "yarn build && electron-builder build --win --x64", "package-mac": "yarn build && electron-builder build --mac", @@ -61,7 +61,7 @@ }, "main": "./app/main.prod.js", "build": { - "productName": "ElectronReact", + "productName": "uScraper", "appId": "org.develar.ElectronReact", "files": [ "app/dist/", @@ -105,9 +105,10 @@ }, "publish": { "provider": "github", - "owner": "electron-react-boilerplate", - "repo": "electron-react-boilerplate", - "private": false + "owner": "videomanagertools", + "repo": "scraper", + "private": false, + "draft": true } }, "repository": {