Skip to content

Commit

Permalink
Fixes appveyor semver
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Henderson committed Sep 26, 2018
1 parent f9f24dc commit 16dc11d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ install:
}
$version = [version]$versionString
$semver = $env:APPVEYOR_REPO_TAG_NAME
}
else {
$semver = (git describe --abbrev=0 2>&1);
Expand All @@ -51,7 +52,10 @@ install:
$semver += "+$branch"
}
}
echo "Version: $version"
echo "Semver: $semver"
Set-AppveyorBuildVariable -Name "AssemblyMajor" -Value $version.Major
Update-AppVeyorBuild -Version "$semver"
Expand Down

0 comments on commit 16dc11d

Please sign in to comment.