Skip to content

Commit dd90d85

Browse files
deploy: b2e9c1b
1 parent f73b0ac commit dd90d85

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

commands/bump/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,7 +2383,7 @@ <h3 id="tag_format"><code>tag_format</code><a class="headerlink" href="#tag_form
23832383
</table>
23842384
<hr />
23852385
<h3 id="version_files"><code>version_files</code> *<a class="headerlink" href="#version_files" title="Permanent link">&para;</a></h3>
2386-
<p>It is used to identify the files which should be updated with the new version.
2386+
<p>It is used to identify the files or glob patterns which should be updated with the new version.
23872387
It is also possible to provide a pattern for each file, separated by colons (<code>:</code>).</p>
23882388
<p>Commitizen will update its configuration file automatically (<code>pyproject.toml</code>, <code>.cz</code>) when bumping,
23892389
regarding if the file is present or not in <code>version_files</code>.</p>
@@ -2393,7 +2393,8 @@ <h3 id="version_files"><code>version_files</code> *<a class="headerlink" href="#
23932393
<div class="highlight"><span class="filename">pyproject.toml</span><pre><span></span><code><span class="k">[tool.commitizen]</span>
23942394
<span class="n">version_files</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">[</span>
23952395
<span class="w"> </span><span class="s2">&quot;src/__version__.py&quot;</span><span class="p">,</span>
2396-
<span class="w"> </span><span class="s2">&quot;setup.py:version&quot;</span>
2396+
<span class="w"> </span><span class="s2">&quot;packages/*/pyproject.toml:version&quot;</span><span class="p">,</span>
2397+
<span class="w"> </span><span class="s2">&quot;setup.py:version&quot;</span><span class="p">,</span>
23972398
<span class="p">]</span>
23982399
</code></pre></div>
23992400
<p>In the example above, we can see the reference <code>"setup.py:version"</code>.

config/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ <h3 id="version"><code>version</code><a class="headerlink" href="#version" title
17891789
<h3 id="version_files"><code>version_files</code><a class="headerlink" href="#version_files" title="Permanent link">&para;</a></h3>
17901790
<p>Type: <code>list</code></p>
17911791
<p>Default: <code>[ ]</code></p>
1792-
<p>Files were the version will be updated. A pattern to match a line, can also be specified, separated by <code>:</code> <a href="../commands/bump/#version_files">Read more</a></p>
1792+
<p>Files (or glob patterns) where the version will be updated. A pattern to match a line, can also be specified, separated by <code>:</code> <a href="../commands/bump/#version_files">Read more</a></p>
17931793
<h3 id="version_provider"><code>version_provider</code><a class="headerlink" href="#version_provider" title="Permanent link">&para;</a></h3>
17941794
<p>Type: <code>str</code></p>
17951795
<p>Default: <code>commitizen</code></p>

search/search_index.json

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

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)