This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3-
3+ < IsDebianBaseDistro Condition = " '$(HostOSName)' == 'ubuntu' OR '$(HostOSName)' == 'debian' " >True</ IsDebianBaseDistro >
44 <IsRPMBasedDistro Condition =" $(HostRid.StartsWith('rhel')) " >True</IsRPMBasedDistro >
55
66 <ArchiveExtension Condition =" '$(HostOSName)' == 'win' " >.zip</ArchiveExtension >
77 <ArchiveExtension Condition =" '$(HostOSName)' != 'win' " >.tar.gz</ArchiveExtension >
88
99 <InstallerExtension Condition =" '$(HostOSName)' == 'win' " >.msi</InstallerExtension >
1010 <InstallerExtension Condition =" '$(HostOSName)' == 'osx' " >.pkg</InstallerExtension >
11- <InstallerExtension Condition =" '$(HostOSName )' == 'ubuntu' OR '$(OSName)' == 'debian ' " >.deb</InstallerExtension >
11+ <InstallerExtension Condition =" '$(IsDebianBaseDistro )' == 'True ' " >.deb</InstallerExtension >
1212 <InstallerExtension Condition =" '$(IsRPMBasedDistro)' == True " >.rpm</InstallerExtension >
1313
1414 <BundleExtension Condition =" '$(HostOSName)' == 'win' " >.exe</BundleExtension >
1515 <BundleExtension Condition =" '$(HostOSName)' == 'osx' " >$(InstallerExtension)</BundleExtension >
16- <BundleExtension Condition =" '$(HostOSName )' == 'ubuntu' OR '$(OSName)' == 'debian ' " >$(InstallerExtension)</BundleExtension >
17- <BundleExtension Condition =" '$(IsRPMBasedDistro)' == True " >.rpm </BundleExtension >
16+ <BundleExtension Condition =" '$(IsDebianBaseDistro )' == 'True ' " >$(InstallerExtension)</BundleExtension >
17+ <BundleExtension Condition =" '$(IsRPMBasedDistro)' == True " >$(InstallerExtension) </BundleExtension >
1818
1919 <DynamicLibPrefix >lib</DynamicLibPrefix >
2020 <DynamicLibPrefix Condition =" '$(HostOSName)' == 'win' " ></DynamicLibPrefix >
Original file line number Diff line number Diff line change 1010 TestDebuild;
1111 BuildSdkDeb;
1212 TestSdkDeb;"
13- Condition =" '$(HostOSName )' == 'ubuntu' OR '$(HostOSName)' == 'debian ' "
13+ Condition =" '$(IsDebianBaseDistro )' == 'True ' "
1414 Outputs =" @(GeneratedInstallers)" />
1515
1616 <Target Name =" BuildSdkDeb"
17- Condition =" ( '$(HostOSName )' == 'ubuntu' OR '$(HostOSName)' == 'debian') AND '$(DebuildPresent)' == 'true' "
17+ Condition =" '$(IsDebianBaseDistro )' == 'True' AND '$(DebuildPresent)' == 'true' "
1818 DependsOnTargets =" PrepareDotnetDebDirectories;
1919 PrepareDotnetDebTool;"
2020 Inputs =" @(CLISdkFiles)"
9898 </Target >
9999
100100 <Target Name =" TestSdkDeb"
101- Condition =" ( '$(HostOSName )' == 'ubuntu' OR '$(HostOSName)' == 'debian') and '$(DebuildPresent)' == 'true' "
101+ Condition =" '$(IsDebianBaseDistro )' == 'True' and '$(DebuildPresent)' == 'true' "
102102 Inputs =" $(DownloadedSharedHostInstallerFile);
103103 $(DownloadedHostFxrInstallerFile);
104104 $(DownloadedSharedFrameworkInstallerFile);
Original file line number Diff line number Diff line change 1919 </DebianUploadJsonContent >
2020 </PropertyGroup >
2121
22- <Target Name =" PublishDebFilesToDebianRepo" Condition =" ( '$(HostOSName )' == 'ubuntu' OR '$(HostOSName)' == 'debian') AND '$(SkipPublishToDebianRepo)' != 'true' " >
22+ <Target Name =" PublishDebFilesToDebianRepo" Condition =" '$(IsDebianBaseDistro )' == 'True' AND '$(SkipPublishToDebianRepo)' != 'true' " >
2323 <Error Condition =" '$(REPO_ID)' == ''" Text =" REPO_ID must be set as an environment variable for debian publishing." />
2424 <Error Condition =" '$(REPO_USER)' == ''" Text =" REPO_USER must be set as an environment variable for debian publishing." />
2525 <Error Condition =" '$(REPO_PASS)' == ''" Text =" REPO_PASS must be set as an environment variable for debian publishing." />
You can’t perform that action at this time.
0 commit comments