diff --git a/app/views/layouts/shared/_footer.html.erb b/app/views/layouts/shared/_footer.html.erb index f13ea1ff4..65f3036ac 100644 --- a/app/views/layouts/shared/_footer.html.erb +++ b/app/views/layouts/shared/_footer.html.erb @@ -8,7 +8,9 @@
- Nokul + <%= link_to 'https://github.com/omu/nokul' do %> + Nokul <%= Nokul::VERSION %> + <% end %>  © 2018 BAUM
diff --git a/config/initializers/git_version.rb b/config/initializers/git_version.rb new file mode 100644 index 000000000..2221acea8 --- /dev/null +++ b/config/initializers/git_version.rb @@ -0,0 +1,3 @@ +module Nokul + VERSION = `git describe --tags --abbrev=0`.chomp +end