We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988556d commit 59a8727Copy full SHA for 59a8727
share/packaging/win-env.ps1
@@ -1,4 +1,4 @@
1
-Get-ChildItem Env:
2
-$env:HASH = git log --max-count=1 --pretty=format:"%H"
3
-$env:MESSAGE = git log --max-count=1 --pretty=format:"%s"
4
-$env:BUILDTIME = [int][double]::Parse((Get-Date -UFormat %s))
+# $env:HASH = git log --max-count=1 --pretty=format:"%H"
+# $env:MESSAGE = git log --max-count=1 --pretty=format:"%s"
+$env:BUILDTIME = [int][double]::Parse((Get-Date -UFormat %s))
+Write-Host "##vso[task.setvariable variable=BUILDTIME]$Env:BUILDTIME"
0 commit comments