aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-06-24 09:49:57 +0200
committerBjørn Erik Pedersen <[email protected]>2017-06-24 09:49:57 +0200
commit1a041522dff56b854b15ce4870c3b86e617d05db (patch)
tree41463073b08401c3b9791c6571c3d65b721f3b7c /releaser
parent3aade0897751c194370b49790fdd8f7787cc822b (diff)
downloadhugo-1a041522dff56b854b15ce4870c3b86e617d05db.tar.gz
hugo-1a041522dff56b854b15ce4870c3b86e617d05db.zip
releaser: One more fix
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go9
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 {