aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-08-18 18:39:55 +0200
committerBjørn Erik Pedersen <[email protected]>2024-08-18 18:46:56 +0200
commit702b1e8b81c889f72207b5b8d0478c300c8ccf3e (patch)
tree844cab5b0a0fbefa6e8c89f975c6237ce675fbcb /releaser
parent73d32e7737082118a48adb8db3ff1ed7407f4d3f (diff)
downloadhugo-702b1e8b81c889f72207b5b8d0478c300c8ccf3e.tar.gz
hugo-702b1e8b81c889f72207b5b8d0478c300c8ccf3e.zip
releaser: Rework the run conditions
Now after actually reading the CircleCI docs... Closes #12753
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/releaser/releaser.go b/releaser/releaser.go
index f2244842a..1cc8413e9 100644
--- a/releaser/releaser.go
+++ b/releaser/releaser.go
@@ -101,7 +101,8 @@ func (r *ReleaseHandler) Run() error {
return err
}
- if _, err := r.git("commit", "-a", "-m", fmt.Sprintf("%s Bump versions for release of %s\n\n[ci skip]", commitPrefix, newVersion)); err != nil {
+ // About NOCIRCLECI, see issue #12753.
+ if _, err := r.git("commit", "-a", "-m", fmt.Sprintf("%s Bump versions for release of %s\n\nNOCIRCLECI", commitPrefix, newVersion)); err != nil {
return err
}