mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 06:07:44 +00:00
Add linebreak to VERSION generation
This commit is contained in:
parent
a99637c613
commit
559946c58a
@ -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 New Issue
Block a user