31 questions
0
votes
0
answers
28
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 ...
0
votes
1
answer
465
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 ...
0
votes
1
answer
173
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 ...
1
vote
2
answers
5k
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 ...
0
votes
0
answers
587
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 ...
4
votes
1
answer
2k
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
988
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(...
2
votes
2
answers
2k
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 ...
1
vote
2
answers
719
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 ...
7
votes
1
answer
2k
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 ...
1
vote
1
answer
1k
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...
...
1
vote
1
answer
710
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 ...
1
vote
0
answers
2k
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
[...
1
vote
0
answers
1k
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 ...