Skip to content

Commit

Permalink
Totally rebuilt how the nuget deploy system works. To deploy projects…
Browse files Browse the repository at this point in the history
… you simply needs to run push-all.ps1 in the root folder and it will push nuget packages for all Myre projects

It will print a scary looking failure if you're trying to push a version that already exists. This is either because 1. you didn't change that project and everything is totally fine or 2. you forgot to change the version string in AssemblyInfo.cs for that project.

Signed-off-by: Martin Evans <martindevans@gmail.com>
  • Loading branch information
martindevans committed Jan 24, 2014
1 parent 166b4cb commit 16ec98e
Show file tree
Hide file tree
Showing 34 changed files with 168 additions and 269 deletions.
14 changes: 14 additions & 0 deletions Myre/Myre.Debugging.UI/(x86) Myre.Debugging.UI.nuspec
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>Martin Evans, Thomas Gillen</authors>
<owners>Martin Evans</owners>
<licenseUrl>https://github.com/martindevans/Myre/blob/master/License.md</licenseUrl>
<projectUrl>https://github.com/martindevans/Myre</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<copyright>Copyright 2014</copyright>
</metadata>
</package>
26 changes: 0 additions & 26 deletions Myre/Myre.Debugging.UI/Myre.Debugging.UI.nuspec

This file was deleted.

4 changes: 2 additions & 2 deletions Myre/Myre.Debugging.UI/Properties/AssemblyInfo.cs
Expand Up @@ -6,7 +6,7 @@
// associated with an assembly.
[assembly: AssemblyTitle("Myre.Debugging.UI")]
[assembly: AssemblyProduct("Myre.Debugging.UI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("In game graphical display of debugging tools")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
Expand All @@ -30,4 +30,4 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1")]
11 changes: 0 additions & 11 deletions Myre/Myre.Debugging.UI/build-nuget.bat

This file was deleted.

14 changes: 14 additions & 0 deletions Myre/Myre.Debugging/(x86) Myre.Debugging.nuspec
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>Martin Evans, Thomas Gillen</authors>
<owners>Martin Evans</owners>
<licenseUrl>https://github.com/martindevans/Myre/blob/master/License.md</licenseUrl>
<projectUrl>https://github.com/martindevans/Myre</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<copyright>Copyright 2014</copyright>
</metadata>
</package>
24 changes: 0 additions & 24 deletions Myre/Myre.Debugging/Myre.Debugging.nuspec

This file was deleted.

4 changes: 2 additions & 2 deletions Myre/Myre.Debugging/Properties/AssemblyInfo.cs
Expand Up @@ -6,7 +6,7 @@
// associated with an assembly.
[assembly: AssemblyTitle("Myre.Debugging")]
[assembly: AssemblyProduct("Myre.Debugging")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("A Debugging Framework for XNA games")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
Expand All @@ -30,4 +30,4 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.4")]
[assembly: AssemblyVersion("1.1.0")]
11 changes: 0 additions & 11 deletions Myre/Myre.Debugging/build-nuget.bat

This file was deleted.

14 changes: 14 additions & 0 deletions Myre/Myre.Entities/(x86) Myre.Entities.nuspec
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>Martin Evans, Thomas Gillen</authors>
<owners>Martin Evans</owners>
<licenseUrl>https://github.com/martindevans/Myre/blob/master/License.md</licenseUrl>
<projectUrl>https://github.com/martindevans/Myre</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<copyright>Copyright 2014</copyright>
</metadata>
</package>
25 changes: 0 additions & 25 deletions Myre/Myre.Entities/Myre.Entities.nuspec

This file was deleted.

4 changes: 2 additions & 2 deletions Myre/Myre.Entities/Properties/AssemblyInfo.cs
Expand Up @@ -6,7 +6,7 @@
// associated with an assembly.
[assembly: AssemblyTitle("Myre.Entities")]
[assembly: AssemblyProduct("Myre.Entities")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("Entity/Scene management framework")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
Expand All @@ -30,4 +30,4 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1")]
11 changes: 0 additions & 11 deletions Myre/Myre.Entities/build-nuget.bat

This file was deleted.

10 changes: 10 additions & 0 deletions Myre/Myre.Graphics.Pipeline/Myre.Graphics.Pipeline.csproj
Expand Up @@ -24,6 +24,16 @@
<PlatformTarget>x86</PlatformTarget>
<XnaPlatform>Windows</XnaPlatform>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.Content.Pipeline, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
Expand Down
18 changes: 4 additions & 14 deletions Myre/Myre.Graphics.Pipeline/Myre.Graphics.Pipeline.nuspec
@@ -1,24 +1,14 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>Myre.Graphics.Pipeline</id>
<version>1.0.1</version>
<id>$id$</id>
<version>$version$</version>
<authors>Martin Evans, Thomas Gillen</authors>
<owners>Martin Evans</owners>
<licenseUrl>https://github.com/martindevans/Myre/blob/master/License.md</licenseUrl>
<projectUrl>https://github.com/martindevans/Myre</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Content pipeline extensions for Myre.Graphics</description>
<copyright>Copyright 2013</copyright>
<dependencies>
<dependency id="Myre" version="1.0.0.1" />
</dependencies>
<references>
<reference file="Myre.Graphics.Pipeline.dll" />
</references>
<description>$description$</description>
<copyright>Copyright 2014</copyright>
</metadata>

<files>
<file src="bin\x86\Debug\Myre.Graphics.Pipeline.dll" target="lib" />
</files>
</package>
5 changes: 2 additions & 3 deletions Myre/Myre.Graphics.Pipeline/Properties/AssemblyInfo.cs
Expand Up @@ -5,7 +5,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("(4.0) Myre.Graphics.Pipeline")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("Content pipeline extensions for Myre.Graphics")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("(4.0) Myre.Graphics.Pipeline")]
Expand All @@ -28,5 +28,4 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1")]
11 changes: 0 additions & 11 deletions Myre/Myre.Graphics.Pipeline/build-nuget.bat

This file was deleted.

14 changes: 14 additions & 0 deletions Myre/Myre.Graphics/(x86) Myre.Graphics.nuspec
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>Martin Evans, Thomas Gillen</authors>
<owners>Martin Evans</owners>
<licenseUrl>https://github.com/martindevans/Myre/blob/master/License.md</licenseUrl>
<projectUrl>https://github.com/martindevans/Myre</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<copyright>Copyright 2014</copyright>
</metadata>
</package>
26 changes: 0 additions & 26 deletions Myre/Myre.Graphics/Myre.Graphics.nuspec

This file was deleted.

4 changes: 2 additions & 2 deletions Myre/Myre.Graphics/Properties/AssemblyInfo.cs
Expand Up @@ -6,7 +6,7 @@
// associated with an assembly.
[assembly: AssemblyTitle("(x86) Myre.Graphics")]
[assembly: AssemblyProduct("(x86) Myre.Graphics")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("XNA Rendering Pipeline")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
Expand All @@ -30,4 +30,4 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1")]
11 changes: 0 additions & 11 deletions Myre/Myre.Graphics/build-nuget.bat

This file was deleted.

14 changes: 14 additions & 0 deletions Myre/Myre.StateManagement/(x86) Myre.StateManagement.nuspec
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>Martin Evans, Thomas Gillen</authors>
<owners>Martin Evans</owners>
<licenseUrl>https://github.com/martindevans/Myre/blob/master/License.md</licenseUrl>
<projectUrl>https://github.com/martindevans/Myre</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<copyright>Copyright 2014</copyright>
</metadata>
</package>

0 comments on commit 16ec98e

Please sign in to comment.