Skip to content

Commit e521ca0

Browse files
Deploying to gh-pages from @ 94d76a4 🚀
1 parent 708ecfa commit e521ca0

8 files changed

Lines changed: 9 additions & 3 deletions

File tree

commands/bump/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3111,6 +3111,11 @@ <h3 id="-allow-no-commit"><code>--allow-no-commit</code><a class="headerlink" hr
31113111
cz<span class="w"> </span>bump<span class="w"> </span>--allow-no-commit<span class="w"> </span><span class="m">2</span>.0.0
31123112
</code></pre></div>
31133113
</div>
3114+
<div class="admonition note">
3115+
<p class="admonition-title">Behavior with changelog updates</p>
3116+
<p>When <code>update_changelog_on_bump = true</code> (or <code>--changelog</code> is used), <code>cz bump --allow-no-commit</code> also generates a changelog entry even if there are no commits in the selected range.</p>
3117+
<p>This makes the new release visible in the changelog while still showing that no commit-based changes were included.</p>
3118+
</div>
31143119
<h3 id="-tag-format"><code>--tag-format</code><a class="headerlink" href="#-tag-format" title="Permanent link">&para;</a></h3>
31153120
<p><code>tag_format</code> and [version_scheme][version_scheme] are combined to make Git tag names from versions.</p>
31163121
<p>These are used in:</p>
@@ -3294,7 +3299,7 @@ <h4 id="combined-pre-release-and-development">Combined Pre-release and Developme
32943299
<span class="md-icon" title="Last update">
32953300
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
32963301
</span>
3297-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="April 5, 2026 09:37:33 UTC">April 5, 2026</span>
3302+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="May 3, 2026 05:23:31 UTC">May 3, 2026</span>
32983303
</span>
32993304

33003305

commands/changelog/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2333,6 +2333,7 @@ <h1>changelog</h1>
23332333

23342334
<h2 id="about">About<a class="headerlink" href="#about" title="Permanent link">&para;</a></h2>
23352335
<p>Generates a changelog following the committing rules established.</p>
2336+
<p>When changelog generation is triggered by <code>cz bump --allow-no-commit</code> (with <code>--changelog</code> or <code>update_changelog_on_bump = true</code>), Commitizen still creates a release entry even when no commits are found in the selected revision range.</p>
23362337
<div class="admonition tip">
23372338
<p class="admonition-title">Tip</p>
23382339
<p>To create the changelog automatically on bump, add the setting <a href="../../config/bump/#update_changelog_on_bump">update_changelog_on_bump</a></p>
@@ -2508,7 +2509,7 @@ <h2 id="hooks">Hooks<a class="headerlink" href="#hooks" title="Permanent link">&
25082509
<span class="md-icon" title="Last update">
25092510
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
25102511
</span>
2511-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="April 5, 2026 09:37:33 UTC">April 5, 2026</span>
2512+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="May 3, 2026 05:23:31 UTC">May 3, 2026</span>
25122513
</span>
25132514

25142515

images/cli_interactive/bump.gif

-27 Bytes
Loading

images/cli_interactive/commit.gif

123 Bytes
Loading

images/cli_interactive/init.gif

2.18 KB
Loading
213 Bytes
Loading
-1.49 KB
Loading

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)