浏览代码

修改校验方式

xielq 4 年之前
父节点
当前提交
2ea70675cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  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