Skip to content

Commit

Permalink
NuGet publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLaws committed Jun 15, 2016
1 parent cafd419 commit 79880b4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
Binary file added src/.nuget/NuGet.exe
Binary file not shown.
14 changes: 14 additions & 0 deletions src/DeployNuGet.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@echo off
echo Would you like to push the debug or production version?
set /p choice="Enter d/p: "

del *.nupkg
@echo on

if /i %choice% equ d (
".nuget/nuget.exe" push FullContactApi.NuGetPackage\bin\Debug\FullContact.*.nupkg
)
else (
".nuget/nuget.exe" push FullContactApi.NuGetPackage\bin\Release\FullContact.*.nupkg
)
pause
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" />
<PropertyGroup Label="Configuration">
<Id>FullContact</Id>
<Version>1.0.0-Beta1</Version>
<Version>1.0.0-alpha1</Version>
<Title>FullContact Client for .NET</Title>
<Authors>advancedrei</Authors>
<Owners>advancedrei</Owners>
Expand All @@ -38,7 +38,9 @@
<GenerateSymbolPackage>true</GenerateSymbolPackage>
</PropertyGroup>
<ItemGroup>
<Content Include="Readme.txt" />
<Dependency Include="PortableRest">
<Version>3.0.1</Version>
</Dependency>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FullContactApi.Portable\FullContactApi.Portable.csproj" />
Expand Down
4 changes: 2 additions & 2 deletions src/FullContactApi.Portable.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ VisualStudioVersion = 14.0.25401.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FullContactApi.Portable", "FullContactApi.Portable\FullContactApi.Portable.csproj", "{D281D382-B1B5-4E02-900F-D205137A04F0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FullContactApi.Tests", "\FullContactApi.Tests\FullContactApi.Tests.csproj", "{79F9E704-ABF7-450F-8DE8-355DC4884048}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FullContactApi.Tests", "FullContactApi.Tests\FullContactApi.Tests.csproj", "{79F9E704-ABF7-450F-8DE8-355DC4884048}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NuGet", "NuGet", "{AC2F0351-6A76-49DE-A9C7-20EBD469422A}"
EndProject
Project("{FF286327-C783-4F7A-AB73-9BCBAD0D4460}") = "FullContactApi.NuGetPackage", "\FullContactApi.NuGetPackage\FullContactApi.NuGetPackage.nuproj", "{FC203776-E562-4C7C-9666-2EB47DE8B04E}"
Project("{FF286327-C783-4F7A-AB73-9BCBAD0D4460}") = "FullContactApi.NuGetPackage", "FullContactApi.NuGetPackage\FullContactApi.NuGetPackage.nuproj", "{FC203776-E562-4C7C-9666-2EB47DE8B04E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 79880b4

Please sign in to comment.