Browse Source

improve action

Signed-off-by: nameczz <zizhao.chen@zilliz.com>
nameczz 3 years ago
parent
commit
5b0f8472af
3 changed files with 8 additions and 5 deletions
  1. 4 1
      .github/workflows/electron.yml
  2. 1 1
      express/electron-starter.js
  3. 3 3
      express/package.json

+ 4 - 1
.github/workflows/electron.yml

@@ -1,6 +1,9 @@
 name: Build electron app
 
-on: push
+on:
+  push:
+    tags:
+      - '*'
 
 jobs:
   release:

+ 1 - 1
express/electron-starter.js

@@ -19,7 +19,7 @@ function createWindow() {
     width: 1200,
     height: 800,
     webPreferences: {
-      devTools: true,
+      // devTools: true,
       webSecurity: false,
       nodeIntegration: true,
       enableRemoteModule: true,

+ 3 - 3
express/package.json

@@ -1,10 +1,10 @@
 {
   "name": "milvus-insight",
-  "version": "0.4.0",
+  "version": "0.5.0",
   "license": "MIT",
   "author": {
-    "name": "zizhao.chen",
-    "email": "zizhao.chen@zilliz.com"
+    "name": "ued",
+    "email": "ued@zilliz.com"
   },
   "description": "Milvus Insight help to manage Milvus easily",
   "repository": {