switch to pnpm
This commit is contained in:
parent
88976c0c7b
commit
c741f58f01
1 changed files with 2 additions and 2 deletions
|
@ -4,11 +4,11 @@ method="patch"
|
||||||
if [[ $1 != "" ]]; then
|
if [[ $1 != "" ]]; then
|
||||||
method=$1
|
method=$1
|
||||||
fi
|
fi
|
||||||
npm version $method
|
pnpm version $method
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
npm run build
|
pnpm run build
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
tar czf cmc_fe.tar.gz dist
|
tar czf cmc_fe.tar.gz dist
|
||||||
git add . cmc_fe.tar.gz
|
git add . cmc_fe.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue