Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #189 from omu/application-version
Browse files Browse the repository at this point in the history
Added latest tag as app version to footer
  • Loading branch information
msdundar authored Aug 8, 2018
2 parents 336c903 + c5cc3a8 commit bc4d9ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/layouts/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
</div>

<div class="d-none d-sm-block">
<a href="https://github.com/omu/nokul">Nokul</a>
<%= link_to 'https://github.com/omu/nokul' do %>
Nokul <%= Nokul::VERSION %>
<% end %>
<span>&nbsp;© 2018 BAUM</span>
</div>

Expand Down
3 changes: 3 additions & 0 deletions config/initializers/git_version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Nokul
VERSION = `git describe --tags --abbrev=0`.chomp
end

0 comments on commit bc4d9ab

Please sign in to comment.