mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 08:19:47 +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
@ -37,6 +37,21 @@ public sealed partial class UpdateMetadataCommands
|
|||||||
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