From cc4ebc6c658eed37c806e3791d93ff3b206c872f Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 23 Dec 2017 13:33:00 +0000 Subject: [PATCH] [server] Add git commit hash & build daate & time to assembly, and add header when starting the server --- .gitignore | 4 ++++ Nibriboard.sln | 4 ++++ Nibriboard/Nibriboard.csproj | 17 +++++++++++------ Nibriboard/NibriboardServer.cs | 25 +++++++++++++++++++++++++ Nibriboard/Program.cs | 5 ++++- Nibriboard/Utilities/EmbeddedFiles.cs | 2 +- 6 files changed, 49 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 0265fe0..928ac34 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,10 @@ Nibriboard/ClientFiles/NibriClient.js # # I'm not sure where in npm they come from, but we don't want them anyhow :P *.tmp +# Exclude the auto-generated git commit hash & build date text files +commit-hash.txt +build-date.txt + ### Autogenerated by gitignore.io ### # Autosave files diff --git a/Nibriboard.sln b/Nibriboard.sln index 05a9f96..908f8d0 100644 --- a/Nibriboard.sln +++ b/Nibriboard.sln @@ -19,4 +19,8 @@ Global {B7F806D9-9C50-4BA8-A803-0FC2EC5F5932}.Release|x86.ActiveCfg = Release|x86 {B7F806D9-9C50-4BA8-A803-0FC2EC5F5932}.Release|x86.Build.0 = Release|x86 EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + description = @An infinite whiteeboard for those big ideas.\nThis is the main server binary. + version = 0.6 + EndGlobalSection EndGlobal diff --git a/Nibriboard/Nibriboard.csproj b/Nibriboard/Nibriboard.csproj index 78cca11..e15ce68 100644 --- a/Nibriboard/Nibriboard.csproj +++ b/Nibriboard/Nibriboard.csproj @@ -8,6 +8,7 @@ Nibriboard Nibriboard v4.6.2 + 0.6 true @@ -60,8 +61,6 @@ - - @@ -81,12 +80,14 @@ - - - - + + + + + + @@ -144,6 +145,10 @@ + + + +