post.sh 447 B

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