Skip to content

ci: fix notify-clet branch detection for release branches#5263

Merged
tig merged 1 commit into
mainfrom
ci/fix-notify-clet-branch-logic
May 8, 2026
Merged

ci: fix notify-clet branch detection for release branches#5263
tig merged 1 commit into
mainfrom
ci/fix-notify-clet-branch-logic

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented May 8, 2026

Summary

  • Flip the branch detection logic: developtg-develop-published, everything else → tg-main-published

Why

Release publishes run from branches like v2.1.0-rc.4, not main. The previous logic checked for main/master explicitly, so release branch publishes were incorrectly classified as develop-channel — which meant rc.4 didn't trigger a clet release.

Fixes the issue from #5258.

Test plan

  • Manually trigger the workflow or wait for next release publish and verify tg-main-published is sent

🤖 Generated with Claude Code

Release publishes run from branches like v2.1.0-rc.4, not main.
Flip the logic: develop branch → tg-develop-published, everything
else (main, release branches, tags) → tg-main-published.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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