2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-21 20:35:12 +00:00

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)
}