Skip to content

Commit

Permalink
Add version number (#109)
Browse files Browse the repository at this point in the history
* fixed Jaeger / MongoDb / StatsD YAML

* dislplay the runtime version of the app in the footer

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Aaronontheweb and kodiakhq[bot] authored Jun 24, 2020
1 parent 86fd405 commit d65f599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Akka.CQRS.Pricing.Web/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class HomeController : Controller
{
public IActionResult Index()
{
ViewData["AppVersion"] = typeof(HomeController).Assembly.ImageRuntimeVersion;
return View();
}

Expand Down
2 changes: 1 addition & 1 deletion src/Akka.CQRS.Pricing.Web/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
@RenderBody()
<hr />
<footer>
<p>&copy; 2019 - Akka.CQRS.Pricing.Web</p>
<p>&copy; 2019 - @DateTime.UtcNow.Year Akka.CQRS.Pricing.Web v @ViewData["AppVersion"]</p>
</footer>
</div>

Expand Down

0 comments on commit d65f599

Please sign in to comment.