You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by ju...@apache.org on 2016/03/21 22:23:35 UTC

reef git commit: [REEF-1264] Fix NuGet script for publishing NuGets

Repository: reef
Updated Branches:
  refs/heads/master c8cbc9599 -> 07f88b172


[REEF-1264] Fix NuGet script for publishing NuGets

This change moves variable ThisNugetPackagePath outside of conditional
property group, so that it's defined unconditionally on all machines.
After REEF-1197 it was defined only on machines with environment
variable OS != Windows_NT, which is not true for multiple machines
with later versions of Windows.

JIRA:
  [REEF-1264](https://issues.apache.org/jira/browse/REEF-1264)

Pull request:
  This closes #894


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/07f88b17
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/07f88b17
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/07f88b17

Branch: refs/heads/master
Commit: 07f88b17286e21324c4ded9d814672dd73358244
Parents: c8cbc95
Author: Mariia Mykhailova <ma...@apache.org>
Authored: Mon Mar 21 12:26:16 2016 -0700
Committer: Julia Wang <ju...@microsoft.com>
Committed: Mon Mar 21 14:16:06 2016 -0700

----------------------------------------------------------------------
 lang/cs/.nuget/NuGet.targets | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/07f88b17/lang/cs/.nuget/NuGet.targets
----------------------------------------------------------------------
diff --git a/lang/cs/.nuget/NuGet.targets b/lang/cs/.nuget/NuGet.targets
index 0a3a257..d5e825d 100644
--- a/lang/cs/.nuget/NuGet.targets
+++ b/lang/cs/.nuget/NuGet.targets
@@ -52,6 +52,9 @@ under the License.
     <PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
         <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
         <NuGetToolsPath>$(SolutionDir)\.nuget</NuGetToolsPath>
+    </PropertyGroup>
+
+    <PropertyGroup>
         <ThisNugetPackagePath>$(SolutionDir2).nuget\packages\$(RootNamespace).$(REEF_NugetVersion).nupkg</ThisNugetPackagePath>
     </PropertyGroup>