31 questions
Score of 0
0 answers
38 views
How to run script interactively on Mac
I am trying to get husky to launch commitizen in a pre-commit hook. Works fine on Linux. On Mac, not so much.
#!/bin/bash
exec < /dev/tty && cz commit || true
It looks like polling is ...
Score of 0
1 answer
581 views
commitizen - how to run commit check in gitlab ci
I'm using a commitizen and a pre-commit
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.27.0
hooks:
- id: commitizen
name: commit message check
On local everything is ...
Score of 0
1 answer
197 views
standard-version not counting features correctly
I'm using conventional-changelog's standard-version to manage semantic versioning and generate my CHANGELOG.md in my application.
I've already made my first release, which means my app's version is ...
Score of 1
2 answers
5007 views
Problem with Commitizen Bump When I'm trying to generate my version with commitizen
In my python project, I was asked to use commitizen. And then they asked me to generate and update the changelog.
I did it the first time and it worked.
But now I had a problem.
When I'm trying to ...
Score of 0
0 answers
612 views
Is it possible to make cz-customizable questions required?
I use the cz-customizable package to have conventional commits in the project; I use a customized configuration file named .cz-customize.js, and I've changed some defaults too. Is it possible to make ...
Score of 4
1 answer
2445 views
How to automate version bump with main branch protection rules without PAT?
My team has multiple low level and high level packages written in Python and they are dependent on each other, we typically install them as GitHub repositories using pip. Basically, I would like to ...
Score of 1
1 answer
1513 views
Configure commitizen to bump a default version
Can we configure commitizen command
cz bump
to bump to a default version (i.e. PATCH ) if there is no commit bump_pattern (i.e. ^(break|new|fix|hotfixi)) in the commit message?
This is the part in ...
Score of 0
1 answer
1015 views
Github Action fails: 'git-lfs' is not on your path
I am using the following Github action:
name: Python application
on:
push:
branches: [ "master" ]
permissions:
contents: read
jobs:
bump_version:
if: "!startsWith(...
Score of 2
2 answers
1865 views
How can I reference var from section into another section in pyproject.toml?
Hello I am building a pyproject object and I have the following two sections
[tool.poetry]
version = "0.1.0"
[tool.commitizen]
version = "0.1.0"
As you can see poetry uses the ...
Score of 1
2 answers
773 views
Can Commitizen update pom.xml file?
I am working on a Java project and I'm using commitizen to enforce semantic version in CI, when I run the command cz bump and cz changelog update the .cz.yaml and changelog files with the new version ...
Score of 7
1 answer
2203 views
How can I keep poetry and commitizen versions synced?
I have a pyproject.toml with
[tool.poetry]
name = "my-project"
version = "0.1.0"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.0"
I add a ...
Score of 1
1 answer
1461 views
commitizen: No commit found with range: 'origin/HEAD..HEAD'
I've recently started using commitizen in my day-to-day development, however I don't understand why I get the following error with the first commit to a new branch, ie:
...on current main branch...
...
Score of 1
1 answer
713 views
error: pathspec 'commit' did not match any file(s) known to git when using commitizen
Now I want to using commitizen to commit the git repo in linux Ubuntu 20.04.4 LTS , first install the commitizen(Node v16.14.2):
npm install -g commitizen
when I commit code using commitizen like ...
Score of 1
0 answers
1690 views
Commitizen in gitlab pipeline
I have to run Commitizen (cz bump) in gitlab pipeline. The problem is that firstly I have to run cz init and answer some questions. It is not possible in Pipeline. I received an error:
$ cz bump
[...
Score of 2
0 answers
1393 views
Commitizen and husky seem to be triggering the pre-commit hook twice
I am trying to configure commitizen with husky and when I commit using a custom script from package.json commit gets triggered twice. This is not the case when I try to run git commit though.
Opened ...