mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 04:32:55 +08:00
Merge branch 'master' into ranks-section
This commit is contained in:
commit
e4ee0a2b91
@ -29,7 +29,7 @@ namespace osu.Desktop.Deploy
|
|||||||
public static string SolutionName = ConfigurationManager.AppSettings["SolutionName"];
|
public static string SolutionName = ConfigurationManager.AppSettings["SolutionName"];
|
||||||
public static string ProjectName = ConfigurationManager.AppSettings["ProjectName"];
|
public static string ProjectName = ConfigurationManager.AppSettings["ProjectName"];
|
||||||
public static string NuSpecName = ConfigurationManager.AppSettings["NuSpecName"];
|
public static string NuSpecName = ConfigurationManager.AppSettings["NuSpecName"];
|
||||||
public static string TargetName = ConfigurationManager.AppSettings["TargetName"];
|
public static string TargetNames = ConfigurationManager.AppSettings["TargetName"];
|
||||||
public static string PackageName = ConfigurationManager.AppSettings["PackageName"];
|
public static string PackageName = ConfigurationManager.AppSettings["PackageName"];
|
||||||
public static string IconName = ConfigurationManager.AppSettings["IconName"];
|
public static string IconName = ConfigurationManager.AppSettings["IconName"];
|
||||||
public static string CodeSigningCertificate = ConfigurationManager.AppSettings["CodeSigningCertificate"];
|
public static string CodeSigningCertificate = ConfigurationManager.AppSettings["CodeSigningCertificate"];
|
||||||
@ -100,7 +100,8 @@ namespace osu.Desktop.Deploy
|
|||||||
updateAssemblyInfo(version);
|
updateAssemblyInfo(version);
|
||||||
|
|
||||||
write("Running build process...");
|
write("Running build process...");
|
||||||
runCommand(msbuild_path, $"/v:quiet /m /t:{TargetName.Replace('.', '_')} /p:OutputPath={stagingPath};Targets=\"Clean;Build\";Configuration=Release {SolutionName}.sln");
|
foreach (string targetName in TargetNames.Split(','))
|
||||||
|
runCommand(msbuild_path, $"/v:quiet /m /t:{targetName.Replace('.', '_')} /p:OutputPath={stagingPath};Targets=\"Clean;Build\";Configuration=Release {SolutionName}.sln");
|
||||||
|
|
||||||
write("Creating NuGet deployment package...");
|
write("Creating NuGet deployment package...");
|
||||||
runCommand(nuget_path, $"pack {NuSpecName} -Version {version} -Properties Configuration=Deploy -OutputDirectory {stagingPath} -BasePath {stagingPath}");
|
runCommand(nuget_path, $"pack {NuSpecName} -Version {version} -Properties Configuration=Deploy -OutputDirectory {stagingPath} -BasePath {stagingPath}");
|
||||||
|
Loading…
Reference in New Issue
Block a user