yangc 8 жил өмнө
parent
commit
2a5c8afd6e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      post.sh

+ 1 - 1
post.sh

@@ -9,7 +9,7 @@ repo_uri='http://10.10.100.23:23004/v1/artifact'
 basepath=$(cd `dirname $0`; pwd)
 basepath=$(cd `dirname $0`; pwd)
 buildfile=$basepath/dist.zip
 buildfile=$basepath/dist.zip
 
 
-cnpm install
+npm install
 npm run build
 npm run build
 npm run zip
 npm run zip
 curl -H "Expect:" -F "groupId=$groupId" -F "artifactId=$artifactId" -F "packaging=$packaging"  -F "version=$version" -F "file=@$buildfile" $repo_uri
 curl -H "Expect:" -F "groupId=$groupId" -F "artifactId=$artifactId" -F "packaging=$packaging"  -F "version=$version" -F "file=@$buildfile" $repo_uri