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
--no-verify this option bypasses the pre-commit and commit-msg
68
68
hooks
69
69
--yes accept automatically questions done
70
+
--local-version bump the local portion of the version
70
71
--tag-format TAG_FORMAT
71
72
the format used to tag the commit and read it, use it
72
73
in existing projects, wrap around simple quotes
@@ -131,6 +132,24 @@ However, it will still update `pyproject.toml` and `src/__version__.py`.
131
132
To fix it, you'll first `git checkout .` to reset to the status before trying to bump and update
132
133
the version in `setup.py` to `1.21.0`
133
134
135
+
136
+
### `--local-version`
137
+
138
+
Bump the local portion of the version.
139
+
140
+
```bash
141
+
cz bump --local-version
142
+
```
143
+
144
+
For example, if we have `pyproject.toml`
145
+
146
+
```toml
147
+
[tool.commitizen]
148
+
version = "5.3.5+0.1.0"
149
+
```
150
+
151
+
If `--local-version` is used, it will bump only the local version `0.1.0` and keep the public version `5.3.1` intact, bumping to the version `5.3.5+0.2.0`.
0 commit comments