Repository navigation
ci: auto-bump nlp-engine submodule + publish on engine release - #30
Merged
Merged
Conversation
Add update-nlp-engine.yml: a listener for the `nlp-engine-release` repository_dispatch (fired by VisualText/nlp-engine move-assets.yml on a v* tag). It bumps the `nlp-engine` submodule to the engine's latest master, commits, and pushes the next v* tag — which fires publish.yml to build the wheels from source and publish to PyPI. Mirrors update-analyzers.yml. Closes the gap where an engine fix required a manual submodule bump here. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Engine fixes don't reach PyPI automatically — the
nlp-enginesubmodule had to be bumped by hand.release.yml/update-analyzers.ymlonly refresh the analyzers submodule.Change
Adds
update-nlp-engine.yml, a listener for thenlp-engine-releaserepository_dispatch(fired byVisualText/nlp-enginemove-assets.ymlon av*tag — see companion PR VisualText/nlp-engine#660). On ping it:git submodule update --remote --recursive nlp-enginev*tag, pushes it (withCLASSIC_PAT)publish.ymlbuilds wheels from source and publishes to PyPIAlso runnable manually (
workflow_dispatch). No-ops cleanly if the submodule is already current. Mirrors the existingupdate-analyzers.ymlpattern.After this + the engine PR merge: tagging the engine
v*auto-publishes PyPI.🤖 Generated with Claude Code