Repository: reef Updated Branches: refs/heads/master f3000d817 -> f3c1a5c3f
[REEF-1264] Fix NuGet script issue This change removes variable ThisNugetPackagePath and replaces its uses with actual path. This variable was defined before REEF_NugetVersion and thus contained incorrect value (with missing version). JIRA: [REEF-1264](https://issues.apache.org/jira/browse/REEF-1264) This closes #909 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/f3c1a5c3 Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/f3c1a5c3 Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/f3c1a5c3 Branch: refs/heads/master Commit: f3c1a5c3f01795bf1dc2b135fce881e517396726 Parents: f3000d8 Author: Julia Wang <[email protected]> Authored: Mon Mar 28 14:49:52 2016 -0700 Committer: Mariia Mykhailova <[email protected]> Committed: Mon Mar 28 15:02:25 2016 -0700 ---------------------------------------------------------------------- lang/cs/.nuget/NuGet.targets | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/f3c1a5c3/lang/cs/.nuget/NuGet.targets ---------------------------------------------------------------------- diff --git a/lang/cs/.nuget/NuGet.targets b/lang/cs/.nuget/NuGet.targets index d5e825d..f93a096 100644 --- a/lang/cs/.nuget/NuGet.targets +++ b/lang/cs/.nuget/NuGet.targets @@ -55,10 +55,6 @@ under the License. </PropertyGroup> <PropertyGroup> - <ThisNugetPackagePath>$(SolutionDir2).nuget\packages\$(RootNamespace).$(REEF_NugetVersion).nupkg</ThisNugetPackagePath> - </PropertyGroup> - - <PropertyGroup> <PackagesProjectConfig Condition=" '$(OS)' == 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config</PackagesProjectConfig> <PackagesProjectConfig Condition=" '$(OS)' != 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config</PackagesProjectConfig> </PropertyGroup> @@ -155,7 +151,7 @@ under the License. </Target> <Target Name="CleanNugetPackages"> - <Delete Files="$(ThisNugetPackagePath)" /> + <Delete Files="$(SolutionDir2).nuget\packages\$(RootNamespace).$(REEF_NugetVersion).nupkg" /> </Target> <Choose> @@ -173,7 +169,7 @@ under the License. <Target Name="PushPackages" > <ItemGroup> - <PackageFile Include="$(ThisNugetPackagePath)" /> + <PackageFile Include="$(SolutionDir2).nuget\packages\$(RootNamespace).$(REEF_NugetVersion).nupkg" /> </ItemGroup> <PropertyGroup>
