mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-27 23:59:48 +00:00
Add 'update-versions' build script command to update package versions in the metadata file
This commit is contained in:
parent
62fec325f8
commit
c31b866757
@ -36,6 +36,21 @@ public sealed partial class UpdateMetadataCommands
|
|||||||
// artifacts are already in place, and .NET knows the updated web assets, etc.:
|
// artifacts are already in place, and .NET knows the updated web assets, etc.:
|
||||||
await this.Build();
|
await this.Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Command("update-versions", Description = "The command will update the package versions in the metadata file")]
|
||||||
|
public async Task UpdateVersions()
|
||||||
|
{
|
||||||
|
if(!Environment.IsWorkingDirectoryValid())
|
||||||
|
return;
|
||||||
|
|
||||||
|
Console.WriteLine("==============================");
|
||||||
|
Console.WriteLine("- Update the main package versions ...");
|
||||||
|
|
||||||
|
await this.UpdateDotnetVersion();
|
||||||
|
await this.UpdateRustVersion();
|
||||||
|
await this.UpdateMudBlazorVersion();
|
||||||
|
await this.UpdateTauriVersion();
|
||||||
|
}
|
||||||
|
|
||||||
[Command("prepare", Description = "Prepare the metadata for the next release")]
|
[Command("prepare", Description = "Prepare the metadata for the next release")]
|
||||||
public async Task Prepare(PrepareAction action)
|
public async Task Prepare(PrepareAction action)
|
||||||
|
Loading…
Reference in New Issue
Block a user