2017-02-23 17:26:14 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-05-19 04:33:47 +00:00
|
|
|
<PropertyGroup>
|
2017-06-05 17:48:12 +00:00
|
|
|
<SdkDebianPackageName>dotnet-sdk-$(SdkVersion)</SdkDebianPackageName>
|
2017-05-19 04:33:47 +00:00
|
|
|
</PropertyGroup>
|
2017-02-23 17:26:14 +00:00
|
|
|
|
|
|
|
<PropertyGroup>
|
2017-07-31 18:19:15 +00:00
|
|
|
<SdkDebianUploadUrl>$(DotnetBlobRootUrl)/$(Product)/$(FullNugetVersion)/$(DistroSpecificArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)-$(Architecture)$(InstallerExtension)</SdkDebianUploadUrl>
|
2017-02-23 17:26:14 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2017-08-09 23:57:47 +00:00
|
|
|
<Target Name="PublishDebFilesToDebianRepo"
|
|
|
|
DependsOnTargets="SetupDebProps;"
|
|
|
|
Condition=" '$(IsDebianBaseDistro)' == 'True' AND '$(SkipPublishToDebianRepo)' != 'true' AND '$(IslinuxPortable)' != 'true' " >
|
|
|
|
<Error Condition="'$(REPO_ID)' == ''" Text="REPO_ID must be set as a MsBuild Property variable for debian publishing." />
|
|
|
|
<Error Condition="'$(REPO_USER)' == ''" Text="REPO_USER must be set as a MsBuild Property variable for debian publishing." />
|
|
|
|
<Error Condition="'$(REPO_PASS)' == ''" Text="REPO_PASS must be set as a MsBuild Property variable for debian publishing." />
|
|
|
|
<Error Condition="'$(REPO_SERVER)' == ''" Text="REPO_SERVER must be set as a MsBuild Property variable for debian publishing." />
|
2017-02-23 17:26:14 +00:00
|
|
|
|
2017-08-09 23:57:47 +00:00
|
|
|
<UploadToLinuxPackageRepository
|
|
|
|
Username="$(REPO_USER)"
|
|
|
|
Password='$(REPO_PASS)'
|
|
|
|
Server='$(REPO_SERVER)'
|
|
|
|
RepositoryId='$(REPO_ID)'
|
|
|
|
PathOfPackageToUpload='$(SdkInstallerFile)'
|
|
|
|
PackageNameInLinuxPackageRepository='$(SdkDebianPackageName)'
|
|
|
|
PackageVersionInLinuxPackageRepository='$(NugetVersion)' />
|
2017-02-23 17:26:14 +00:00
|
|
|
</Target>
|
|
|
|
</Project>
|