From 732695f4560585fdb832e5c91594e71ec851a4eb Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Tue, 23 Jun 2020 23:19:42 +0800 Subject: [PATCH] Properly set date and rev --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 89ecff5..5f0e4b0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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