Remove uses of aspnetcore-ci-dev
This commit is contained in:
parent
08e651da50
commit
db8adaf5b7
|
|
@ -1,37 +0,0 @@
|
||||||
<Project>
|
|
||||||
<Target Name="Push" DependsOnTargets="_PushNuGet;_PushNpm" />
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackagesToPush Include="$(BuildDir)*.nupkg" />
|
|
||||||
<PackagesToPush Include="$(ArtifactsDir)mirror\*.nupkg" />
|
|
||||||
<PackagesToPush Include="$(LineupBuildDir)*.nupkg" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Target Name="_PushNuGet" Condition="@(PackagesToPush->Count()) != 0">
|
|
||||||
<Error Text="Missing required property: NuGetPublishFeed" Condition=" '$(NuGetPublishFeed)' == '' "/>
|
|
||||||
<PushNuGetPackages
|
|
||||||
Packages="@(PackagesToPush)"
|
|
||||||
Feed="$(NuGetPublishFeed)"
|
|
||||||
ApiKey="$(APIKey)" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<NpmModuleArtifact Include="$(BuildDir)*.tgz" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Target Name="_PushNpm" Condition="@(NpmModuleArtifact->Count()) != 0">
|
|
||||||
<Error Text="Missing required property: NpmRegistry" Condition=" '$(NpmRegistry)' == '' "/>
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<AuthTokenSetting>$(NpmRegistry.Replace("https:", "")):_authToken</AuthTokenSetting>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<Exec Command="npm config set "$(AuthTokenSetting)" $(APIKey)" Condition=" '$(APIKey)' != '' " />
|
|
||||||
<Exec Command="npm publish --registry $(NpmRegistry) "%(NpmModuleArtifact.Identity)""
|
|
||||||
ContinueOnError="true">
|
|
||||||
<Output TaskParameter="ExitCode" ItemName="ExitCodes" />
|
|
||||||
</Exec>
|
|
||||||
<Exec Command="npm config delete $(AuthTokenSetting)" Condition=" '$(APIKey)' != '' "/>
|
|
||||||
<Error Text="Publishing npm modules failed" Condition="%(ExitCodes.Identity) > 0"/>
|
|
||||||
</Target>
|
|
||||||
</Project>
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
<Import Project="PackageArchive.targets" />
|
<Import Project="PackageArchive.targets" />
|
||||||
<Import Project="Templating.targets" />
|
<Import Project="Templating.targets" />
|
||||||
<Import Project="Signing.targets" />
|
<Import Project="Signing.targets" />
|
||||||
<Import Project="push.targets" />
|
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_RepositoryBuildTargets Condition="'$(_RepositoryBuildTargets)'=='' AND '$(SkipTests)'=='true'">/t:Package /t:VerifyPackages</_RepositoryBuildTargets>
|
<_RepositoryBuildTargets Condition="'$(_RepositoryBuildTargets)'=='' AND '$(SkipTests)'=='true'">/t:Package /t:VerifyPackages</_RepositoryBuildTargets>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<RestoreSources>$(DotNetRestoreSources)</RestoreSources>
|
<RestoreSources>$(DotNetRestoreSources)</RestoreSources>
|
||||||
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true' AND '$(AspNetUniverseBuildOffline)' != 'true' ">
|
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true' AND '$(AspNetUniverseBuildOffline)' != 'true' ">
|
||||||
$(RestoreSources);
|
$(RestoreSources);
|
||||||
https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json;
|
https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
|
||||||
https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;
|
https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;
|
||||||
</RestoreSources>
|
</RestoreSources>
|
||||||
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'">
|
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue