浏览代码

修改部署脚本

test
chenJinxu 10 个月前
父节点
当前提交
139f050986
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      setup_development.sh
  2. +1
    -1
      setup_production.sh
  3. +1
    -1
      setup_test.sh

+ 1
- 1
setup_development.sh 查看文件

@@ -1,6 +1,6 @@

npm -v
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com
npm install
npm run build-dev
image_version=`date +%Y%m%d%H%M`;


+ 1
- 1
setup_production.sh 查看文件

@@ -7,7 +7,7 @@
# @description:
###
npm -v
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com
npm install
npm run build
image_version=$version;


+ 1
- 1
setup_test.sh 查看文件

@@ -8,7 +8,7 @@
###
#!/bin/bash
npm -v
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com/
npm install
npm run build-test
image_version=$version;


正在加载...
取消
保存