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 382b6eb commit 30b6e53Copy full SHA for 30b6e53
tools/publish-nupkg.ps1
@@ -10,6 +10,10 @@ if ($(Test-Path ./out) -eq $false) {
10
rm out/* -Recurse -Force
11
}
12
$tag = $(git describe --tags --abbrev=0)
13
+if ([System.String]::IsNullOrWhiteSpace($tag))
14
+{
15
+ $tag = "0.0.0.0"
16
+}
17
$count = $(git rev-list --count HEAD)
18
$ver = [System.Version]::Parse($tag)
19
0 commit comments