mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
nightly push action rework v5
include alpha in the generate nightly package version i don't know which logic nuget uses to detect pre-release so it's safer to include alpha in the nightly build version.
This commit is contained in:
@@ -2,6 +2,6 @@ $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"
|
||||
$date = [System.DateTime]::UtcNow.ToString('yyyyMMdd')
|
||||
$nightlyVersion = "$mainVersion-alpha.$date.$commitHash"
|
||||
Write-Output $nightlyVersion
|
||||
Reference in New Issue
Block a user