Skip to content

Commit f523918

Browse files
committed
Add targets file and version bump
1 parent 24a224d commit f523918

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

src/Umbraco.Cms.Integrations.DAM.Aprimo/Umbraco.Cms.Integrations.DAM.Aprimo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PackageIconUrl></PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.DAM.Aprimo</PackageProjectUrl>
1515
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
16-
<Version>1.0.0</Version>
16+
<Version>1.0.1</Version>
1717
<Authors>Umbraco HQ</Authors>
1818
<Company>Umbraco</Company>
1919
<PackageTags>Umbraco;Umbraco-Marketplace</PackageTags>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<AprimoPropertyEditorFilesPath>
4+
$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\DAM\Aprimo\**\*.*
5+
</AprimoPropertyEditorFilesPath>
6+
</PropertyGroup>
7+
<Target Name="CopyAprimoPropertyEditorAssets" BeforeTargets="Build">
8+
<ItemGroup>
9+
<AprimoPropertyEditorFiles Include="$(AprimoPropertyEditorFilesPath)" />
10+
</ItemGroup>
11+
<Message
12+
Text="Copying Aprimo Property Editor files: $(AprimoPropertyEditorFilesPath) - #@(AprimoPropertyEditorFiles->Count()) files"
13+
Importance="high" />
14+
<Copy SourceFiles="@(AprimoPropertyEditorFiles)"
15+
DestinationFiles="@(AprimoPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms.Integrations\DAM\Aprimo\%(RecursiveDir)%(Filename)%(Extension)')"
16+
SkipUnchangedFiles="true" />
17+
18+
</Target>
19+
20+
<Target Name="ClearAprimoPropertyEditorAssets" BeforeTargets="Clean">
21+
<ItemGroup>
22+
<AprimoPropertyEditorDir
23+
Include="$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms\DAM\Aprimo\" />
24+
</ItemGroup>
25+
<Message Text="Clear old Aprimo Property Editor data" Importance="high" />
26+
<RemoveDir Directories="@(AprimoPropertyEditorDir)" />
27+
</Target>
28+
29+
</Project>

0 commit comments

Comments
 (0)