Fix RPM generation when store folder is empty, and add restore source for dotnetfeed
This commit is contained in:
parent
adb254f4bb
commit
5b0af04b29
|
|
@ -223,7 +223,9 @@
|
||||||
|
|
||||||
<!-- Create layout: Extract archive if given -->
|
<!-- Create layout: Extract archive if given -->
|
||||||
<MakeDir Directories="$(_WorkRoot)package_root\" />
|
<MakeDir Directories="$(_WorkRoot)package_root\" />
|
||||||
<Exec Command="tar -xzf $(RSArchive) -C $(_WorkRoot)package_root\" Condition="'$(RSArchive)'!=''" />
|
<Exec Command="tar -xzf $(RSArchive) -C $(_WorkRoot)package_root\" Condition="'$(RSArchive)'!=''" StandardOutputImportance="Normal" />
|
||||||
|
<!-- Ensure expected directories exist in the event we don't have additional files for this patch. -->
|
||||||
|
<MakeDir Directories="$(_WorkRoot)package_root\store;$(_WorkRoot)package_root\additionalDeps" />
|
||||||
|
|
||||||
<!-- Create layout: Place changelog -->
|
<!-- Create layout: Place changelog -->
|
||||||
<Copy
|
<Copy
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
</RestoreSources>
|
</RestoreSources>
|
||||||
<RestoreSources Condition=" '$(DotNetBuildOffline)' != 'true' ">
|
<RestoreSources Condition=" '$(DotNetBuildOffline)' != 'true' ">
|
||||||
$(RestoreSources);
|
$(RestoreSources);
|
||||||
|
https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
|
||||||
https://api.nuget.org/v3/index.json;
|
https://api.nuget.org/v3/index.json;
|
||||||
</RestoreSources>
|
</RestoreSources>
|
||||||
<RestoreSources Condition=" '$(DotNetBuildOffline)' != 'true' AND '$(DisableMyGetRestoreSources)' != 'true' ">
|
<RestoreSources Condition=" '$(DotNetBuildOffline)' != 'true' AND '$(DisableMyGetRestoreSources)' != 'true' ">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue