diff --git a/config/environment.rb b/config/environment.rb index 71ff325f1..4782f14e1 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -5,4 +5,6 @@ Rails.application.initialize! # Get the current tag version -APP_VERSION = `git describe --tags` unless defined? APP_VERSION +VERSION = '0.9.2' +REVISION = `git log --pretty=format:'%h' -n 1` +APP_VERSION = "#{VERSION}:#{REVISION}"