nugetUpload: add a dash in pre-release version before the git hash

Otherwise if the hash starts with a non-number it looks weird.
This commit is contained in:
Andres G. Aragoneses 2020-04-14 22:08:58 +08:00
parent ba7e7cbfa9
commit 313739eb2f

View file

@ -29,7 +29,7 @@ jobs:
} }
Else { Else {
$baseVersion = "0.1.1" $baseVersion = "0.1.1"
$version = "$baseVersion--date$date.git$hash" $version = "$baseVersion--date$date.git-$hash"
} }
./Nuget.exe pack src/TgSharp.Core/TgSharp.Core.csproj -Version $version -Build -Properties Configuration=Release ./Nuget.exe pack src/TgSharp.Core/TgSharp.Core.csproj -Version $version -Build -Properties Configuration=Release