Skip to content

Commit

Permalink
fix: Do only on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRynne committed May 7, 2024
1 parent 7b1abff commit aded3d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DUI3-DX/Connectors/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))"/>


<Target Name="Copy To Folder" AfterTargets="Build">
<Target Name="CopyToDistAndZip" AfterTargets="Build" Condition="'$(IsDesktopBuild)' == false">

<Error Text="ConnectorSlug property is not set" Condition=" '$(ConnectorSlug)' == '' " />
<Error Text="ConnectorVersion property is not set" Condition=" '$(ConnectorVersion)' == '' " />
Expand All @@ -25,5 +25,6 @@
<Copy SourceFiles="@(DllFiles)" DestinationFolder="$(OutputDirectory)/%(RecursiveDir)"/>

<ZipDirectory SourceDirectory="$(OutputDirectory)" DestinationFile="$(OutputZipDirectory)/$(OutputZipFile)"/>

</Target>
</Project>

0 comments on commit aded3d5

Please sign in to comment.