Skip to content

Commit 2b81b1c

Browse files
author
Tony Guntharp
committed
moved version string to git_revision Fixes #123
1 parent bcf746c commit 2b81b1c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/views/pages/about.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img class="aboutlogo" src="/assets/kandanlogo.png" height="125" width="125">
88
</h1>
99

10-
<h3>Version 1.0 (<%= AppName::REVISION %>)</h3>
10+
<h3><%= AppName::VERSION %> (<%= AppName::REVISION %>)</h3>
1111

1212
<h3>Description</h3>
1313

config/initializers/git_revision.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module AppName
2+
VERSION = 'Version 1.1'
23
REVISION = `git log --pretty=format:'%h' -n 1`
34
end

0 commit comments

Comments
 (0)