Explorar o código

修改校验方式

xielq %!s(int64=4) %!d(string=hai) anos
pai
achega
2ea70675cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      post.sh

+ 1 - 1
post.sh

@@ -14,4 +14,4 @@ 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
-sha512sum $buildfile |awk '{print $1}' >sha512sum.txt
+echo "$(date +%s)" >sha512sum.txt