diff --git a/Directory.Build.props b/Directory.Build.props index 4fcf0ff9..02e66e3a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 0.37.0$(VersionSuffix) + 0.38.0$(VersionSuffix) diff --git a/appveyor.yml b/appveyor.yml index 5136776c..878c1736 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,7 @@ before_build: $versionSuffixPR = "-PR$($env:APPVEYOR_PULL_REQUEST_NUMBER)-$buildId"; $branchName = "$env:APPVEYOR_REPO_BRANCH".Replace("_",""); $versionSuffixBRANCH = "-$branchName-$buildId"; + $env:Version = if ("$env:APPVEYOR_REPO_TAG" -eq "true") { "$env:APPVEYOR_REPO_TAG_NAME".trimstart("v") } else { "" } $env:VersionSuffix = if ("$env:APPVEYOR_REPO_TAG" -eq "true") { "" } else { if ("$env:APPVEYOR_PULL_REQUEST_NUMBER") { $versionSuffixPR } else { $versionSuffixBRANCH } }; build_script: