Split out versions in version.go

The will prolly make automatic releases easier.
This commit is contained in:
Miek Gieben
2016-08-24 21:43:47 +01:00
parent 1c31f1e7f3
commit af6b3a6d02
2 changed files with 6 additions and 6 deletions

View File

@@ -215,9 +215,3 @@ var (
gitShortStat string // git diff-index --shortstat gitShortStat string // git diff-index --shortstat
gitFilesModified string // git diff-index --name-only HEAD gitFilesModified string // git diff-index --name-only HEAD
) )
const (
coreName = "CoreDNS"
coreVersion = "001"
serverType = "dns"
)

6
coremain/version.go Normal file
View File

@@ -0,0 +1,6 @@
const (
coreName = "CoreDNS"
coreVersion = "001"
serverType = "dns"
)