diff options
author | 2016-08-24 21:43:47 +0100 | |
---|---|---|
committer | 2016-08-24 21:43:47 +0100 | |
commit | af6b3a6d029a83e3cc90f7751243c092258ace79 (patch) | |
tree | cefdb8682fdd36a22d73c6586508e93b29050da5 | |
parent | 1c31f1e7f37b8faf132c30acdd3b4159a34c4448 (diff) | |
download | coredns-af6b3a6d029a83e3cc90f7751243c092258ace79.tar.gz coredns-af6b3a6d029a83e3cc90f7751243c092258ace79.tar.zst coredns-af6b3a6d029a83e3cc90f7751243c092258ace79.zip |
Split out versions in version.go
The will prolly make automatic releases easier.
-rw-r--r-- | coremain/run.go | 6 | ||||
-rw-r--r-- | coremain/version.go | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/coremain/run.go b/coremain/run.go index 1a5282bc4..e33b6843f 100644 --- a/coremain/run.go +++ b/coremain/run.go @@ -215,9 +215,3 @@ var ( gitShortStat string // git diff-index --shortstat gitFilesModified string // git diff-index --name-only HEAD ) - -const ( - coreName = "CoreDNS" - coreVersion = "001" - serverType = "dns" -) diff --git a/coremain/version.go b/coremain/version.go new file mode 100644 index 000000000..5b4b4aed5 --- /dev/null +++ b/coremain/version.go @@ -0,0 +1,6 @@ +const ( + coreName = "CoreDNS" + coreVersion = "001" + + serverType = "dns" +) |