Comments (10)
Hi, try to set these variables in the job to make a full clone:
variables:
GIT_STRATEGY: clone # clone entire repo instead of reusing workspace
GIT_DEPTH: 0 # avoid shallow clone to give cliff all the info it needs]
(Similar to fetch-depth: 0
)
Also I'm using -w .
in addition to -r .
. Perhaps the combination of those two solves your issue.
from git-cliff.
It works !!!
That's so good !
I am wondering why my example is running then :/
from git-cliff.
Are you sure you have the full commit history in the current path that you're trying to run git-cliff?
I had a similar issue with GitHub actions where actions/checkout was only fetching the latest commit thus makes the git-cliff create an empty changelog. For the record, here is how you solve it:
- uses: actions/checkout@v2
with:
fetch-depth: 0
Maybe GitLab has something similar?
from git-cliff.
I see you created #24, does that mean you have solved this issue?
from git-cliff.
Unfortunately, I still have the issue π
I think I have the full history, I tried on another job and had the following:
)
I have no idea how to debug this. Do you have any idea ?
from git-cliff.
I actually tried the first workflow you posted and it worked for me.
Are you using the default cliff.toml
file? If it is customized, maybe that's causing the changelog to be empty.
from git-cliff.
Yep i know it worked I use it on another repository without any issue but on this one.
Yes i am using the default cliff.toml file. On my machine everything is working fine but on the CI it is not working :/
from git-cliff.
Is this a public repository? I want to take a look.
from git-cliff.
This is a private repo π₯
I could give you access to it either way
from git-cliff.
I have updated the PR accordingly
from git-cliff.
Related Issues (20)
- git-cliff --bump increments major when breaking changes, even when the major is currently zero HOT 5
- Cannot pick up the correct tag on mono repo configuration HOT 3
- Add target for 32 bit windows 10 HOT 4
- Make include/exclude paths processing faster HOT 4
- feat: output generated changelog blurb to both stdout and file for further processing HOT 4
- Entire env output if `env` included in commit message HOT 3
- Bump version in monorepo with several commits in different workspaces HOT 2
- "version" key (which is the tag) is coming as null when using git-cliff npm. But the same works using terminal HOT 3
- Support processing the commits starting from a specific tag HOT 4
- Support creating the changelog based on pull requests only HOT 3
- Support generating changelog from a JSON context
- Increase test coverage
- Do not fail on unexisting GitHub/GitLab template variables
- Parsing multiple feat: or fix: from the commit message
- Add installation instructions for Nix HOT 2
- Codeberg integration HOT 1
- --bumped-version broken in some scenarios? HOT 4
- Add option for not bump major version HOT 7
- Format markdown
- Make repository name available in context HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-cliff.