Add command to update project commit hash

This commit is contained in:
Thorsten Sommer 2025-11-17 13:27:14 +01:00
parent 0b6c2f1041
commit 1e1a32bc5a
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -336,8 +336,9 @@ public sealed partial class UpdateMetadataCommands
await File.WriteAllLinesAsync(pathMetadata, lines, Environment.UTF8_NO_BOM); await File.WriteAllLinesAsync(pathMetadata, lines, Environment.UTF8_NO_BOM);
Console.WriteLine(" done."); Console.WriteLine(" done.");
} }
private async Task UpdateProjectCommitHash() [Command("update-project-hash", Description = "Update the project commit hash")]
public async Task UpdateProjectCommitHash()
{ {
const int COMMIT_HASH_INDEX = 8; const int COMMIT_HASH_INDEX = 8;