Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,11 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<NETCORE_ENGINEERING_TELEMETRY>Publish</NETCORE_ENGINEERING_TELEMETRY>

<!-- Default publishing infra target is 2. -->
<PublishingInfraVersion Condition="'$(PublishingInfraVersion)' == ''">2</PublishingInfraVersion>
<!-- Default publishing infra target is 3. -->
<PublishingInfraVersion Condition="'$(PublishingInfraVersion)' == ''">3</PublishingInfraVersion>
</PropertyGroup>

<Import Project="SetupTargetFeeds.proj" Condition="'$(PublishingInfraVersion)' == '2'" />

<Target Name="Execute">
<CallTarget Targets="SetupTargetFeeds" Condition="'$(PublishingInfraVersion)' == '2'">
<Output TaskParameter="TargetOutputs" ItemName="TargetFeedConfig"/>
</CallTarget>

<Error Condition="'$(ManifestsBasePath)' == ''" Text="ManifestsBasePath is empty. Please provide the full path to asset manifest(s) directory." />
<Error Condition="'$(BlobBasePath)' == '' OR '$(PackageBasePath)' == ''" Text="A valid full path to BlobBasePath and PackageBasePath is required." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
- AzdoTargetFeedPAT : Required token to publish assets to feeds
-->

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NETCORE_ENGINEERING_TELEMETRY>Publish</NETCORE_ENGINEERING_TELEMETRY>
Comment thread
michellemcdaniel marked this conversation as resolved.
<AzureDevOpsOrg Condition="'$(AzureDevOpsOrg)' == ''">dnceng</AzureDevOpsOrg>
</PropertyGroup>

<Target Name="Execute">
<Error
Condition="'$(IsInternalBuild)' == ''"
Expand All @@ -34,21 +28,29 @@
Condition="'$(AzdoTargetFeedPAT)' == ''"
Text="Parameters 'AzdoTargetFeedPAT' is empty." />

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NETCORE_ENGINEERING_TELEMETRY>Publish</NETCORE_ENGINEERING_TELEMETRY>
<AzureDevOpsOrg Condition="'$(AzureDevOpsOrg)' == ''">dnceng</AzureDevOpsOrg>
<AzureDevOpsProject>internal</AzureDevOpsProject>
Comment thread
mmitche marked this conversation as resolved.
Outdated
<AzureDevOpsProject Condition="'$(IsInternalBuild)' == 'false'">public</AzureDevOpsProject>
</PropertyGroup>

<!--Create the shipping feed-->
<CreateAzureDevOpsFeed
IsInternal="$(IsInternalBuild)"
AzureDevOpsPersonalAccessToken="$(AzdoTargetFeedPAT)"
FeedName="$(FeedName)-shipping"
AzureDevOpsOrg="$(AzureDevOpsOrg)">
AzureDevOpsOrg="$(AzureDevOpsOrg)"
AzureDevOpsProject="$(AzureDevOpsProject)">
<Output TaskParameter="TargetFeedURL" PropertyName="ShippingAzdoPackageFeedURL"/>
</CreateAzureDevOpsFeed>

<!--Create the nonshipping feed-->
<CreateAzureDevOpsFeed
IsInternal="$(IsInternalBuild)"
AzureDevOpsPersonalAccessToken="$(AzdoTargetFeedPAT)"
FeedName="$(FeedName)-nonshipping"
AzureDevOpsOrg="$(AzureDevOpsOrg)">
AzureDevOpsOrg="$(AzureDevOpsOrg)"
AzureDevOpsProject="$(AzureDevOpsProject)">
<Output TaskParameter="TargetFeedURL" PropertyName="NonShippingAzdoPackageFeedURL"/>
</CreateAzureDevOpsFeed>

Expand Down
Loading