Add linebreak to VERSION generation

This commit is contained in:
Alexander Neumann 2017-12-30 09:55:56 +01:00
parent a99637c613
commit 559946c58a

View file

@ -247,7 +247,7 @@ func generateFiles() {
}
func updateVersion() {
err := ioutil.WriteFile("VERSION", []byte(opts.Version), 0644)
err := ioutil.WriteFile("VERSION", []byte(opts.Version+"\n"), 0644)
if err != nil {
die("unable to write version to file: %v", err)
}