Account for repositories with no packaes to publish
This commit is contained in:
parent
1db9776b24
commit
5bcf919faa
|
|
@ -73,11 +73,11 @@
|
||||||
DestinationFolder="$(UniverseBuildDir)" />
|
DestinationFolder="$(UniverseBuildDir)" />
|
||||||
|
|
||||||
<Message Text="Publishing the following packages to the volatile feed: @(RepositoryNupkgs -> '%(Filename)%(Extension)', ', ')"
|
<Message Text="Publishing the following packages to the volatile feed: @(RepositoryNupkgs -> '%(Filename)%(Extension)', ', ')"
|
||||||
Condition="'$(PublishPackages)'=='true'" />
|
Condition="'$(PublishPackages)'=='true' AND '@(RepositoryNupkgs)' != ''" />
|
||||||
|
|
||||||
<Exec
|
<Exec
|
||||||
Command="$(DotNetPath) nuget push "%(RepositoryNupkgs.Identity)" -s $(NuGetPublishVolatileFeed) -k $(APIKEY)"
|
Command="$(DotNetPath) nuget push "%(RepositoryNupkgs.Identity)" -s $(NuGetPublishVolatileFeed) -k $(APIKEY)"
|
||||||
Condition="'$(PublishPackages)'=='true'" />
|
Condition="'$(PublishPackages)'=='true' AND '@(RepositoryNupkgs)' != ''" />
|
||||||
|
|
||||||
<Message Text="============ Done building $(RepositoryToBuild) ============" Importance="High" />
|
<Message Text="============ Done building $(RepositoryToBuild) ============" Importance="High" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue