1234567891011121314151617 |
- #!/bin/sh
- groupId=com.uas.erp
- artifactId=uas-manage-client-web
- packaging=zip
- version=1.0.0
- repo_uri='http://10.10.100.23:23004/v1/artifact'
- basepath=$(cd `dirname $0`; pwd)
- buildfile=$basepath/dist.zip
- cnpm install
- npm run build
- npm run zip
- #curl -H "Expect:" -F "groupId=$groupId" -F "artifactId=$artifactId" -F "packaging=$packaging" -F "version=$version" -F "file=@$buildfile" $repo_uri
- #rm -rf $buildfile
- echo "$(date +%s)" >sha512sum.txt
|