mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
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:
parent
ba7e7cbfa9
commit
313739eb2f
2
.github/workflows/nugetUpload.yml
vendored
2
.github/workflows/nugetUpload.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue