Skip to content

Commit

Permalink
Merge pull request revel#858 from revel/feature/version-file
Browse files Browse the repository at this point in the history
Adds first draft of a version file to Revel
  • Loading branch information
brendensoares committed Jan 24, 2015
2 parents 374e983 + 56c8908 commit 6f65648
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions revel.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func Init(mode, importPath, srcPath string) {
loadModules()

Initialized = true
INFO.Printf("Initialized Revel v%s (%s) for %s", VERSION, BUILD_DATE, MINIMUM_GO)
}

// Create a logger using log.* directives in app.conf plus the current settings
Expand Down
10 changes: 10 additions & 0 deletions version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package revel

const (
// Current Revel version
VERSION = "0.12.0dev"
// Latest commit date
BUILD_DATE = "2015-01-19"
// Minimum required Go version
MINIMUM_GO = ">= go1.3"
)
3 changes: 3 additions & 0 deletions version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version: 0.12.0dev
buildDate: 2015-01-23
minimumGo: >= go1.3

0 comments on commit 6f65648

Please sign in to comment.