update mod build package nuspec

This commit is contained in:
Jesse Plamondon-Willard 2017-10-08 21:21:11 -04:00
parent 475efa12fe
commit d47105a278
3 changed files with 13 additions and 10 deletions

View File

@ -73,7 +73,7 @@ namespace StardewModdingAPI.ModBuildConfig.Framework
continue; continue;
// ignore release zips // ignore release zips
if (file.Extension.Equals("zip", StringComparison.InvariantCultureIgnoreCase)) if (file.Extension.Equals(".zip", StringComparison.InvariantCultureIgnoreCase))
continue; continue;
// add file // add file

View File

@ -47,7 +47,6 @@
<None Include="assets\nuget-icon.pdn" /> <None Include="assets\nuget-icon.pdn" />
<None Include="build\smapi.targets"> <None Include="build\smapi.targets">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="package.nuspec"> <None Include="package.nuspec">
<SubType>Designer</SubType> <SubType>Designer</SubType>

View File

@ -2,22 +2,26 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata> <metadata>
<id>Pathoschild.Stardew.ModBuildConfig</id> <id>Pathoschild.Stardew.ModBuildConfig</id>
<version>1.7.1</version> <version>2.0-alpha</version>
<title>MSBuild config for Stardew Valley mods</title> <title>Build package for SMAPI mods</title>
<authors>Pathoschild</authors> <authors>Pathoschild</authors>
<owners>Pathoschild</owners> <owners>Pathoschild</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.7.1/LICENSE.txt</licenseUrl> <licenseUrl>https://github.com/Pathoschild/SMAPI/blob/develop/LICENSE.txt</licenseUrl>
<projectUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig#readme</projectUrl> <projectUrl>https://github.com/Pathoschild/SMAPI/blob/develop/docs/mod-build-config.md#readme</projectUrl>
<iconUrl>https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.7.1/assets/nuget-icon.png</iconUrl> <iconUrl>https://raw.githubusercontent.com/Pathoschild/SMAPI/develop/src/SMAPI.ModBuildConfig/assets/nuget-icon.png</iconUrl>
<description>Automates the build configuration for crossplatform Stardew Valley SMAPI mods.</description> <description>Automates the build configuration for crossplatform Stardew Valley SMAPI mods.</description>
<releaseNotes> <releaseNotes>
1.7 added an option to create release zips on build and added a reference to XNA's XACT library for audio-related mods. - Added: mods are now copied into the `Mods` folder automatically (configurable).
1.7.1 fixed an issue where i18n folders were flattened, and ensures that the manifest/i18n files in the project take precedence over those in the build output if both are present.</releaseNotes> - Added: release zips are now created automatically in your build output folder (configurable).
- Added mod's version to release zip filename.
- Improved errors to simplify troubleshooting.
- Fixed release zip not having a mod folder.
- Fixed release zip failing if mod name contains characters that aren't valid in a filename.
</releaseNotes>
</metadata> </metadata>
<files> <files>
<file src="build/smapi.targets" target="build/Pathoschild.Stardew.ModBuildConfig.targets" /> <file src="build/smapi.targets" target="build/Pathoschild.Stardew.ModBuildConfig.targets" />
<file src="bin/StardewModdingAPI.ModBuildConfig.dll" target="build/StardewModdingAPI.ModBuildConfig.dll" /> <file src="bin/StardewModdingAPI.ModBuildConfig.dll" target="build/StardewModdingAPI.ModBuildConfig.dll" />
<file src="readme.md" />
</files> </files>
</package> </package>