Skip to content

ci(release): fetch tags for git-cliff workflows#11

Merged
v-byte-cpu merged 1 commit into
mainfrom
ci/fetch-tags-for-git-cliff
May 31, 2026
Merged

ci(release): fetch tags for git-cliff workflows#11
v-byte-cpu merged 1 commit into
mainfrom
ci/fetch-tags-for-git-cliff

Conversation

@v-byte-cpu
Copy link
Copy Markdown
Contributor

Why

git-cliff was failing in the release preview workflow because the checkout used partial clone semantics.
It also benefits from local tags when computing release notes and the next version.

What Changed

  • Switched both release workflows from fetch-depth: 0 plus filter: blob:none to fetch-depth: 100
  • Enabled fetch-tags: true so git-cliff has the tag history it needs
  • Kept the workflow structure otherwise unchanged

Use a shallow checkout with tags instead of a partial clone
so git-cliff can read the repository history reliably
in both preview and publish workflows.
@v-byte-cpu v-byte-cpu merged commit e80cdc2 into main May 31, 2026
3 checks passed
@v-byte-cpu v-byte-cpu deleted the ci/fetch-tags-for-git-cliff branch May 31, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant