Ver código fonte

取消文件上传接口

xielq 5 anos atrás
pai
commit
dce5a9c2b0
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      post.sh

+ 3 - 2
post.sh

@@ -12,5 +12,6 @@ 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
+#curl -H "Expect:" -F "groupId=$groupId" -F "artifactId=$artifactId" -F "packaging=$packaging"  -F "version=$version" -F "file=@$buildfile" $repo_uri
+#rm -rf $buildfile
+sha512sum $buildfile |awk '{print $1}' >sha512sum.txt