changed build scripts

This commit is contained in:
Paul Wilde 2023-03-24 17:09:06 +00:00
parent 59f77df2a2
commit d0a6e6fa5b
2 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
{
"name": "cmc_fe",
"version": "1.1.1",
"version": "0.1.6",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",