You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<scriptid="__config" type="application/json">{"base": "/","features": [],"search": "/assets/javascripts/workers/search.f8cc74c7.min.js","translations": {"clipboard.copied": "Copied to clipboard","clipboard.copy": "Copy to clipboard","search.result.more.one": "1 more on this page","search.result.more.other": "# more on this page","search.result.none": "No matching documents","search.result.one": "1 matching document","search.result.other": "# matching documents","search.result.placeholder": "Type to start searching","search.result.term.missing": "Missing","select.version": "Select version"}}</script>
<p>Will create a version like <code>1.1.2+yourmetadata</code>.
1973
1991
This can be useful for multiple things
1974
-
* Git hash in version
1975
-
* Labeling the version with additional metadata.</p>
1992
+
- Git hash in version
1993
+
- Labeling the version with additional metadata.</p>
1976
1994
<p>Note that Commitizen ignores everything after <code>+</code> when it bumps the version. It is therefore safe to write different build-metadata between versions.</p>
1977
1995
<p>You should normally not use this functionality, but if you decide to do, keep in mind that
1978
-
* Version <code>1.2.3+a</code>, and <code>1.2.3+b</code> are the same version! Tools should not use the string after <code>+</code> for version calculation. This is probably not a guarantee (example in helm) even tho it is in the spec.
1979
-
* It might be problematic having the metadata in place when doing upgrades depending on what tool you use.</p>
1996
+
- Version <code>1.2.3+a</code>, and <code>1.2.3+b</code> are the same version! Tools should not use the string after <code>+</code> for version calculation. This is probably not a guarantee (example in helm) even tho it is in the spec.
1997
+
- It might be problematic having the metadata in place when doing upgrades depending on what tool you use.</p>
<p>Allow the project version to be bumped even when there's no eligible version. This is most useful when used with <code>--increment {MAJOR,MINOR,PATCH}</code> or <code>[MANUL_VERSION]</code></p>
2019
+
<divclass="highlight"><pre><span></span><code><spanclass="c1"># bump a minor version even when there's only bug fixes, documentation changes or even no commits</span>
<scriptid="__config" type="application/json">{"base": "../..","features": [],"search": "../../assets/javascripts/workers/search.f8cc74c7.min.js","translations": {"clipboard.copied": "Copied to clipboard","clipboard.copy": "Copy to clipboard","search.result.more.one": "1 more on this page","search.result.more.other": "# more on this page","search.result.none": "No matching documents","search.result.one": "1 matching document","search.result.other": "# matching documents","search.result.placeholder": "Type to start searching","search.result.term.missing": "Missing","select.version": "Select version"}}</script>
<scriptid="__config" type="application/json">{"base": "../..","features": [],"search": "../../assets/javascripts/workers/search.f8cc74c7.min.js","translations": {"clipboard.copied": "Copied to clipboard","clipboard.copy": "Copy to clipboard","search.result.more.one": "1 more on this page","search.result.more.other": "# more on this page","search.result.none": "No matching documents","search.result.one": "1 matching document","search.result.other": "# matching documents","search.result.placeholder": "Type to start searching","search.result.term.missing": "Missing","select.version": "Select version"}}</script>
<scriptid="__config" type="application/json">{"base": "../..","features": [],"search": "../../assets/javascripts/workers/search.f8cc74c7.min.js","translations": {"clipboard.copied": "Copied to clipboard","clipboard.copy": "Copy to clipboard","search.result.more.one": "1 more on this page","search.result.more.other": "# more on this page","search.result.none": "No matching documents","search.result.one": "1 matching document","search.result.other": "# matching documents","search.result.placeholder": "Type to start searching","search.result.term.missing": "Missing","select.version": "Select version"}}</script>
0 commit comments