Skip to content

Commit

Permalink
Use NuGetRepack to force exact versions in per-build packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Aug 23, 2018
1 parent 43a7ffc commit 4c3201a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/Targets/Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<RoslynToolsMicrosoftLocateVSVersion>0.2.4-beta</RoslynToolsMicrosoftLocateVSVersion>
<RoslynToolsVSIXExpInstallerVersion>1.0.0-beta2-63222-01</RoslynToolsVSIXExpInstallerVersion>
<RoslynToolsMSBuildVersion>0.5.0-alpha</RoslynToolsMSBuildVersion>
<RoslynToolsNuGetRepackVersion>1.0.0-beta2-63217-01</RoslynToolsNuGetRepackVersion>
<RoslynToolsNuGetRepackVersion>1.0.0-beta2-63223-01</RoslynToolsNuGetRepackVersion>
<RoslynToolsReferenceAssembliesVersion>0.1.3</RoslynToolsReferenceAssembliesVersion>
<RoslynToolsSignToolVersion>1.0.0-beta2-dev3</RoslynToolsSignToolVersion>
<RoslynToolsBuildTasksVersion>1.0.0-beta2-63217-01</RoslynToolsBuildTasksVersion>
Expand Down
3 changes: 3 additions & 0 deletions build/Targets/RepoToolset/BuildReleasePackages.targets
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<!-- Force references among packages to use exact versions (see https://github.com/NuGet/Home/issues/7213) -->
<Roslyn.Tools.UpdatePackageVersionTask VersionKind="release" Packages="@(_BuiltPackages)" OutputDirectory="$(ArtifactsPackagesDir)Release" AllowPreReleaseDependencies="true" ExactVersions="true" />
<Roslyn.Tools.UpdatePackageVersionTask VersionKind="prerelease" Packages="@(_BuiltPackages)" OutputDirectory="$(ArtifactsPackagesDir)PreRelease" ExactVersions="true"/>

<!-- Rewrite the version ranges of per-build pre-release packages (see https://github.com/NuGet/Home/issues/7213) -->
<Roslyn.Tools.UpdatePackageVersionTask Packages="@(_BuiltPackages)" OutputDirectory="$(ArtifactsShippingPackagesDir)" ExactVersions="true"/>
</Target>

</Project>

0 comments on commit 4c3201a

Please sign in to comment.