Added Beta build configuration and added CommitInfo class

This commit is contained in:
miku-666
2023-05-02 17:04:39 +02:00
parent 27f57870d8
commit ca298ed5be
4 changed files with 86 additions and 39 deletions
+4 -1
View File
@@ -71,8 +71,11 @@ namespace PckStudio
labelVersion.Text = "PCK Studio: " + Application.ProductVersion;
ChangelogRichTextBox.Text = Resources.CHANGELOG;
#if BETA
labelVersion.Text += $"{Program.Info.BetaBuildVersion}";
#endif
#if DEBUG
labelVersion.Text += $" (Debug build: {Program.Info.BuildVersion}@{Program.Info.LastCommitHash})";
labelVersion.Text += $" (Debug build: {CommitInfo.BranchName}@{CommitInfo.CommitHash})";
#endif
pckFileTypeHandler = new Dictionary<PckFile.FileData.FileType, Action<PckFile.FileData>>(15)