aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser/releaser.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-08-18 12:00:47 +0200
committerBjørn Erik Pedersen <[email protected]>2024-08-18 12:00:47 +0200
commit73d32e7737082118a48adb8db3ff1ed7407f4d3f (patch)
tree4cab6cbd38152e5b3e6078611d33a4d06b5f453d /releaser/releaser.go
parent777534b2a46127ad0392562b4de56ba3ff70a810 (diff)
downloadhugo-73d32e7737082118a48adb8db3ff1ed7407f4d3f.tar.gz
hugo-73d32e7737082118a48adb8db3ff1ed7407f4d3f.zip
Revert "releaser: Rework the run conditions"
This reverts commit 777534b2a46127ad0392562b4de56ba3ff70a810. Circle ci throws validation errors: ``` Config does not conform to schema: {:workflows {:release {:jobs [{:prepare_release (not (map? nil)), :when {:and disallowed-key}} nil nil nil]}}} ```
Diffstat (limited to 'releaser/releaser.go')
-rw-r--r--releaser/releaser.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/releaser/releaser.go b/releaser/releaser.go
index 1cc8413e9..f2244842a 100644
--- a/releaser/releaser.go
+++ b/releaser/releaser.go
@@ -101,8 +101,7 @@ func (r *ReleaseHandler) Run() error {
return err
}
- // 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 {
+ if _, err := r.git("commit", "-a", "-m", fmt.Sprintf("%s Bump versions for release of %s\n\n[ci skip]", commitPrefix, newVersion)); err != nil {
return err
}