Properly set date and rev

This commit is contained in:
zhupengfei
2020-06-23 23:19:42 +08:00
parent 0323749718
commit 732695f456
+3
View File
@@ -71,6 +71,9 @@ after_build:
Copy-Item .\README.md -Destination release
Copy-Item .\dist\threeSDumper.gm9 -Destination release\dist
$GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
$GITREV = $(git show -s --format='%h')
$BUILD_SEVENZIP = "threeSD-windows-$GITDATE-$GITREV.7z" -replace " ", ""
$env:BUILD_SEVENZIP = $BUILD_SEVENZIP