changed build scripts
This commit is contained in:
parent
59f77df2a2
commit
d0a6e6fa5b
2 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
npm version
|
||||
npm build
|
||||
method="patch"
|
||||
if [[ $1 != "" ]]; then
|
||||
method=$1
|
||||
fi
|
||||
npm version $method
|
||||
npm run build
|
||||
if [[ $? == 0 ]]; then
|
||||
tar czf cmc_fe.tar.gz dist
|
||||
git add . cmc_fe.tar.gz
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cmc_fe",
|
||||
"version": "1.1.1",
|
||||
"version": "0.1.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
|
Loading…
Reference in a new issue