mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
commit
740ee787c1
1 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ func preCheckUncommittedChanges() {
|
||||||
|
|
||||||
changes := uncommittedChanges()
|
changes := uncommittedChanges()
|
||||||
if len(changes) > 0 {
|
if len(changes) > 0 {
|
||||||
die("uncommited changes found:\n%s\n", changes)
|
die("uncommitted changes found:\n%s\n", changes)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ func generateFiles() {
|
||||||
|
|
||||||
changes := uncommittedChanges("doc")
|
changes := uncommittedChanges("doc")
|
||||||
if len(changes) > 0 {
|
if len(changes) > 0 {
|
||||||
msg("comitting manpages and auto-completion")
|
msg("committing manpages and auto-completion")
|
||||||
run("git", "commit", "-m", "Update manpages and auto-completion", "doc")
|
run("git", "commit", "-m", "Update manpages and auto-completion", "doc")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -203,7 +203,7 @@ func updateVersion() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(uncommittedChanges("VERSION")) > 0 {
|
if len(uncommittedChanges("VERSION")) > 0 {
|
||||||
msg("comitting file VERSION")
|
msg("committing file VERSION")
|
||||||
run("git", "commit", "-m", fmt.Sprintf("Add VERSION for %v", opts.Version), "VERSION")
|
run("git", "commit", "-m", fmt.Sprintf("Add VERSION for %v", opts.Version), "VERSION")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue