Include git sha in binary

This commit is contained in:
runebaas 2018-05-06 03:24:09 +02:00
parent 7238e7177d
commit 59ee6b289a
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
6 changed files with 15 additions and 6 deletions

View file

@ -25,7 +25,7 @@ namespace Geekbot.net.Lib.ErrorHandling
var sentryDsn = Environment.GetEnvironmentVariable("SENTRY");
if (!string.IsNullOrEmpty(sentryDsn))
{
_raven = new RavenClient(sentryDsn);
_raven = new RavenClient(sentryDsn) { Release = Constants.BotVersion() };
_logger.Information(LogSource.Geekbot, $"Command Errors will be logged to Sentry: {sentryDsn}");
}
else