Skip to content

Commit 988556d

Browse files
committed
powershell script for meta information
1 parent f872a3f commit 988556d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

share/packaging/win-env.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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))

0 commit comments

Comments
 (0)