|
16 | 16 |
|
17 | 17 | <!-- SHARED PROPERTIES -->
|
18 | 18 | <PropertyGroup>
|
19 |
| - <ProjectName>Our.Umbraco.DocTypeGridEditor</ProjectName> |
| 19 | + <ProjectName>Our.Umbraco.DocTypeGridEditor</ProjectName> |
20 | 20 | <PackageName>Doc Type Grid Editor</PackageName>
|
21 | 21 | <MinUmbracoVersion>7.2.0</MinUmbracoVersion>
|
22 | 22 | <Readme>Doc Type Grid Editor is an advanced grid editor for the new Umbraco v7.2 Grid</Readme>
|
|
30 | 30 | <!-- NUGET ONLY PROPERTIES -->
|
31 | 31 | <PropertyGroup>
|
32 | 32 | <PackageId>Our.Umbraco.DocTypeGridEditor</PackageId>
|
33 |
| - <NuGetPackageName>Umbraco Doc Type Grid Editor</NuGetPackageName> |
| 33 | + <NuGetPackageName>Umbraco Doc Type Grid Editor</NuGetPackageName> |
34 | 34 | <Copyright>Copyright © 2015 Matt Brailsford, Lee Kelleher</Copyright>
|
35 | 35 | <Owners>Matt Brailsford, Lee Kelleher</Owners>
|
36 | 36 | <IconUrl>https://our.umbraco.org/media/wiki/145708/635623742802070736_dtgepng.png</IconUrl>
|
|
46 | 46 | <Choose>
|
47 | 47 | <When Condition="$(APPVEYOR_BUILD_NUMBER) != '' And $(APPVEYOR_REPO_TAG) != 'true' ">
|
48 | 48 | <PropertyGroup>
|
49 |
| - <Release>false</Release> |
| 49 | + <Release>false</Release> |
50 | 50 | </PropertyGroup>
|
51 | 51 | </When>
|
52 | 52 | <Otherwise>
|
53 | 53 | <PropertyGroup>
|
54 |
| - <Release>true</Release> |
| 54 | + <Release>true</Release> |
55 | 55 | </PropertyGroup>
|
56 | 56 | </Otherwise>
|
57 | 57 | </Choose>
|
58 | 58 |
|
59 |
| - <Choose> |
60 |
| - <When Condition="$(Release) == 'false' And $(UMBRACO_PACKAGE_PRERELEASE_SUFFIX) == 'rtm'"> |
61 |
| - <PropertyGroup> |
62 |
| - <AbortBuild>true</AbortBuild> |
63 |
| - </PropertyGroup> |
64 |
| - </When> |
65 |
| - <Otherwise> |
66 |
| - <PropertyGroup> |
67 |
| - <AbortBuild>false</AbortBuild> |
68 |
| - </PropertyGroup> |
69 |
| - </Otherwise> |
70 |
| - </Choose> |
| 59 | + <Choose> |
| 60 | + <When Condition="$(Release) == 'false' And $(UMBRACO_PACKAGE_PRERELEASE_SUFFIX) == 'rtm'"> |
| 61 | + <PropertyGroup> |
| 62 | + <AbortBuild>true</AbortBuild> |
| 63 | + </PropertyGroup> |
| 64 | + </When> |
| 65 | + <Otherwise> |
| 66 | + <PropertyGroup> |
| 67 | + <AbortBuild>false</AbortBuild> |
| 68 | + </PropertyGroup> |
| 69 | + </Otherwise> |
| 70 | + </Choose> |
71 | 71 |
|
72 | 72 | <!-- PATHS -->
|
73 | 73 | <PropertyGroup>
|
|
81 | 81 |
|
82 | 82 | <!-- TARGETS -->
|
83 | 83 | <Target Name="GetProductVersion">
|
84 |
| - <Error Condition="$(AbortBuild) == 'true'" Text="Aborting the build as the UMBRACO_PACKAGE_PRERELEASE_SUFFIX suffix is set 'rtm' but APPVEYOR_REPO_TAG is not 'true'" /> |
85 |
| - <GetProductVersion BuildVersion="$(APPVEYOR_BUILD_VERSION)" BuildSuffix="$(UMBRACO_PACKAGE_PRERELEASE_SUFFIX)" Release="$(Release)"> |
| 84 | + <Error Condition="$(AbortBuild) == 'true'" Text="Aborting the build as the UMBRACO_PACKAGE_PRERELEASE_SUFFIX suffix is set 'rtm' but APPVEYOR_REPO_TAG is not 'true'" /> |
| 85 | + <GetProductVersion BuildVersion="$(APPVEYOR_BUILD_VERSION)" BuildSuffix="$(UMBRACO_PACKAGE_PRERELEASE_SUFFIX)" Release="$(Release)"> |
86 | 86 | <Output TaskParameter="ProductVersion" PropertyName="ProductVersion"/>
|
87 | 87 | </GetProductVersion>
|
88 | 88 | </Target>
|
|
109 | 109 | AssemblyInformationalVersion="$(ProductVersion)"/>
|
110 | 110 | </Target>
|
111 | 111 |
|
112 |
| - <!-- COMPILE --> |
113 |
| - <Target Name="Compile" DependsOnTargets="UpdateAssemblyInfo"> |
114 |
| - <MSBuild Projects="$(CoreProjectDir)\$(ProjectName).csproj" Properties="Configuration=$(BuildConfig)"/> |
115 |
| - </Target> |
| 112 | + <!-- COMPILE --> |
| 113 | + <Target Name="Compile" DependsOnTargets="UpdateAssemblyInfo"> |
| 114 | + <MSBuild Projects="$(CoreProjectDir)\$(ProjectName).csproj" Properties="Configuration=$(BuildConfig)"/> |
| 115 | + </Target> |
116 | 116 |
|
117 | 117 | <!-- PREPARE FILES -->
|
118 | 118 | <Target Name="PrepareFiles" DependsOnTargets="Compile">
|
119 | 119 | <ItemGroup>
|
120 | 120 | <BinFiles Include="$(CoreProjectDir)\bin\$(BuildConfig)\$(ProjectName).dll" />
|
121 | 121 | <PdbFiles Include="$(CoreProjectDir)\bin\$(BuildConfig)\$(ProjectName).pdb" />
|
122 | 122 | <SrcFiles Include="$(CoreProjectDir)\**\*.cs" Exclude="$(CoreProjectDir)\obj\**"/>
|
123 |
| - <PluginFiles Include="$(CoreProjectDir)\Web\UI\**\*.*" /> |
124 |
| - <PackageFile Include="$(MSBuildProjectDirectory)\package.xml" /> |
| 123 | + <PluginFiles Include="$(CoreProjectDir)\Web\UI\**\*.*" /> |
| 124 | + <PackageFile Include="$(MSBuildProjectDirectory)\package.xml" /> |
125 | 125 | <NuSpecFile Include="$(MSBuildProjectDirectory)\package.nuspec" />
|
126 | 126 | </ItemGroup>
|
127 | 127 | <Copy SourceFiles="@(BinFiles)" DestinationFolder="$(BuildUmbDir)\bin" />
|
128 | 128 | <Copy SourceFiles="@(PackageFile)" DestinationFolder="$(BuildUmbDir)" />
|
129 | 129 | <Copy SourceFiles="@(BinFiles)" DestinationFolder="$(BuildNuGetDir)\lib\net45" />
|
130 | 130 | <Copy SourceFiles="@(PdbFiles)" DestinationFolder="$(BuildNuGetDir)\lib\net45" />
|
131 |
| - <Copy SourceFiles="@(PluginFiles)" DestinationFiles="@(PluginFiles->'$(BuildUmbDir)\%(RecursiveDir)%(Filename)%(Extension)')" /> |
132 |
| - <Copy SourceFiles="@(PluginFiles)" DestinationFiles="@(PluginFiles->'$(BuildNuGetDir)\Content\%(RecursiveDir)%(Filename)%(Extension)')" /> |
133 |
| - <Copy SourceFiles="@(SrcFiles)" DestinationFiles="@(SrcFiles->'$(BuildNuGetDir)\src\%(RecursiveDir)%(Filename)%(Extension)')" /> |
| 131 | + <Copy SourceFiles="@(PluginFiles)" DestinationFiles="@(PluginFiles->'$(BuildUmbDir)\%(RecursiveDir)%(Filename)%(Extension)')" /> |
| 132 | + <Copy SourceFiles="@(PluginFiles)" DestinationFiles="@(PluginFiles->'$(BuildNuGetDir)\Content\%(RecursiveDir)%(Filename)%(Extension)')" /> |
| 133 | + <Copy SourceFiles="@(SrcFiles)" DestinationFiles="@(SrcFiles->'$(BuildNuGetDir)\src\%(RecursiveDir)%(Filename)%(Extension)')" /> |
134 | 134 | <Copy SourceFiles="@(NuSpecFile)" DestinationFolder="$(BuildNuGetDir)" />
|
135 | 135 | </Target>
|
136 | 136 |
|
|
0 commit comments