Browse Source

修改校验方式

xielq 4 years ago
parent
commit
2ea70675cf
1 changed files with 1 additions and 1 deletions
  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