mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-06-28 15:30:17 +08:00
7 lines
283 B
PowerShell
7 lines
283 B
PowerShell
![]() |
$toolsRoot = (Split-Path -parent $PSCommandPath)
|
||
|
|
||
|
$mainVersion = & "$toolsRoot\get-main-version.ps1"
|
||
|
$commitHash = (git rev-parse HEAD).Substring(0, 5)
|
||
|
$date = [System.DateTime]::Now.ToString('yyyyMMdd')
|
||
|
$nightlyVersion = "$mainVersion-$date.$commitHash"
|
||
|
Write-Output $nightlyVersion
|