mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Add linebreak to VERSION generation
This commit is contained in:
parent
a99637c613
commit
559946c58a
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user