forked from TrueCloudLab/restic
Add linebreak to VERSION generation
This commit is contained in:
parent
a99637c613
commit
559946c58a
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ func generateFiles() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateVersion() {
|
func updateVersion() {
|
||||||
err := ioutil.WriteFile("VERSION", []byte(opts.Version), 0644)
|
err := ioutil.WriteFile("VERSION", []byte(opts.Version+"\n"), 0644)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
die("unable to write version to file: %v", err)
|
die("unable to write version to file: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue