diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-24 09:49:57 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-24 09:49:57 +0200 |
commit | 1a041522dff56b854b15ce4870c3b86e617d05db (patch) | |
tree | 41463073b08401c3b9791c6571c3d65b721f3b7c | |
parent | 3aade0897751c194370b49790fdd8f7787cc822b (diff) |
releaser: One more fix
-rw-r--r-- | releaser/releaser.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/releaser/releaser.go b/releaser/releaser.go index 39a785da2..f3b4358a6 100644 --- a/releaser/releaser.go +++ b/releaser/releaser.go @@ -153,10 +153,11 @@ func (r *ReleaseHandler) Run() error { if _, err := git("submodule", "update", "--remote", "--merge"); err != nil { return err } - } - // TODO(bep) the above may not have changed anything. - if _, err := git("commit", "-a", "-m", fmt.Sprintf("%s Update /docs [ci skip]", commitPrefix)); err != nil { - return err + + // TODO(bep) the above may not have changed anything. + if _, err := git("commit", "-a", "-m", fmt.Sprintf("%s Update /docs [ci skip]", commitPrefix)); err != nil { + return err + } } if err := bumpVersions(newVersion); err != nil { |