Skip to content

Commit

Permalink
Merge pull request #124 from fusion94/master-123
Browse files Browse the repository at this point in the history
moved version string to git_revision Fixes #123
  • Loading branch information
gabceb committed Feb 26, 2013
2 parents bcf746c + 2b81b1c commit 10f87f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/pages/about.html.erb
Expand Up @@ -7,7 +7,7 @@
<img class="aboutlogo" src="/assets/kandanlogo.png" height="125" width="125">
</h1>

<h3>Version 1.0 (<%= AppName::REVISION %>)</h3>
<h3><%= AppName::VERSION %> (<%= AppName::REVISION %>)</h3>

<h3>Description</h3>

Expand Down
1 change: 1 addition & 0 deletions config/initializers/git_revision.rb
@@ -1,3 +1,4 @@
module AppName
VERSION = 'Version 1.1'
REVISION = `git log --pretty=format:'%h' -n 1`
end

0 comments on commit 10f87f6

Please sign in to comment.