1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

fixed build number in prereleases being wrongly appended

This commit is contained in:
Ellpeck 2020-05-21 22:59:15 +02:00
parent 80de2bdb11
commit d4bddce84a

View file

@ -12,7 +12,7 @@ Task("Prepare").Does(() => {
if (branch != "release") {
var buildNum = EnvironmentVariable("BUILD_NUMBER");
if (buildNum != null)
version += buildNum;
version += "-" + buildNum;
}
DeleteFiles("**/*.nupkg");