diff --git a/PCK-Studio/Forms/CreditsForm.cs b/PCK-Studio/Forms/CreditsForm.cs
index e6b18df4..df2c386c 100644
--- a/PCK-Studio/Forms/CreditsForm.cs
+++ b/PCK-Studio/Forms/CreditsForm.cs
@@ -10,13 +10,17 @@ namespace PckStudio.Forms
public CreditsForm()
{
InitializeComponent();
+ string buildConfig = "";
#if BETA
- buildLabel.Text = $"Build Config: Beta\nBuild Version: {ApplicationBuildInfo.BetaBuildVersion}\n Branch: {CommitInfo.BranchName}";
+ buildConfig = "Beta";
#elif DEBUG
- buildLabel.Text = $"Build Config: Debug\nBranch: {CommitInfo.BranchName}\nCommit Id: {CommitInfo.CommitHash}";
+ buildConfig = "Debug";
+#elif RELEASE
+ buildConfig = "Release";
#else
- buildLabel.Text = string.Empty;
+ buildConfig = "unknown";
#endif
+ buildLabel.Text = $"Verion: {Application.ProductVersion}\nBuild Config: {buildConfig}\nBranch: {CommitInfo.BranchName}@{CommitInfo.CommitHash}";
}
}
}
diff --git a/PCK-Studio/PckStudio.csproj b/PCK-Studio/PckStudio.csproj
index 3ca26630..db069a0c 100644
--- a/PCK-Studio/PckStudio.csproj
+++ b/PCK-Studio/PckStudio.csproj
@@ -51,7 +51,7 @@
none
true
bin\Release\
- $(DefineConstants);TRACE
+ $(DefineConstants);TRACE;RELEASE
prompt
4
true