Skip to content

Don't trigger releases for ABI-suffixed tags - #142

Merged
314eter merged 1 commit into
tree-sitter:masterfrom
bbatsov:skip-release-for-abi-tags
Jun 22, 2026
Merged

Don't trigger releases for ABI-suffixed tags#142
314eter merged 1 commit into
tree-sitter:masterfrom
bbatsov:skip-release-for-abi-tags

Conversation

@bbatsov

@bbatsov bbatsov commented Jun 15, 2026

Copy link
Copy Markdown

Picking up the thread from #141. The reason an ABI 14 tag for v0.25.0 never got cut is that any tag push fires the publish workflow and would push duplicate releases to NPM, crates.io and PyPI.

This excludes *-abi* tags from the trigger, so a tag like v0.25.0-abi14 can be created as a plain GitHub marker (and a place to attach an ABI 14 regeneration) without re-publishing the packages.

I think this approach would be preferable for consumers of the grammar over an abi14 branch and doesn't add much maintenance overhead.

Fixes #141

Tags like v0.25.0-abi14 are used to publish ABI 14 regenerations of the
grammar for editors stuck on tree-sitter 0.24 (e.g. Homebrew Emacs 30 on
macOS). Cutting such a tag currently fires the publish workflow, pushing
duplicate releases to NPM, crates.io and PyPI. Exclude '*-abi*' tags from
the trigger so these markers can be tagged safely.
@314eter
314eter merged commit 527d62e into tree-sitter:master Jun 22, 2026
11 of 12 checks passed
314eter pushed a commit that referenced this pull request Jun 22, 2026
Tags like v0.25.0-abi14 are used to publish ABI 14 regenerations of the
grammar for editors stuck on tree-sitter 0.24 (e.g. Homebrew Emacs 30 on
macOS). Cutting such a tag currently fires the publish workflow, pushing
duplicate releases to NPM, crates.io and PyPI. Exclude '*-abi*' tags from
the trigger so these markers can be tagged safely.

(cherry picked from commit 527d62e)
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.

ABI 14 release for v0.25.0?

2 participants