Skip to content

fix(devctl): skip git pull without upstream + separate bump from tag#11

Merged
trogulja merged 3 commits intomainfrom
fix/devctl-skip-pull-no-upstream
Apr 1, 2026
Merged

fix(devctl): skip git pull without upstream + separate bump from tag#11
trogulja merged 3 commits intomainfrom
fix/devctl-skip-pull-no-upstream

Conversation

@trogulja
Copy link
Copy Markdown
Collaborator

@trogulja trogulja commented Apr 1, 2026

Summary

  • tb-devctl start --local --dir failed when the branch had no upstream tracking because git pull exits non-zero. Added an upstream check alongside the existing dirty-tree guard — skips pull with a warning instead of aborting.
  • Separated version bumps from tag creation: bump.sh no longer creates tags. Tags are created during the publish workflow on main, preventing premature CI builds from feature branches.
  • Updated CLAUDE.md and publish skill to document the two-step flow.
  • Bumped tb-devctl to 0.1.1.

Test plan

  • cargo build -p tb-devctl passes
  • cargo test -p tb-devctl passes
  • Manual: tb-devctl start <service> --local --dir <worktree-with-no-upstream> — should print warning and continue
  • Manual: scripts/bump.sh tb-devctl 0.1.1 — should commit without creating a tag

🤖 Generated with Claude Code

trogulja and others added 3 commits April 1, 2026 09:14
`tb-devctl start --local --dir` failed when the branch had no upstream
because `git pull` exits non-zero. Now checks for upstream before pulling,
matching the existing dirty-tree guard pattern.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bump.sh no longer creates tags — it only updates the version and commits.
Tags are now created during the publish workflow on main, preventing
premature tag pushes from feature branches that trigger CI builds.

Updated CLAUDE.md and publish skill to document the two-step flow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@trogulja trogulja changed the title fix(devctl): skip git pull when branch has no upstream fix(devctl): skip git pull without upstream + separate bump from tag Apr 1, 2026
@trogulja trogulja marked this pull request as ready for review April 1, 2026 07:50
@trogulja trogulja merged commit d15488a into main Apr 1, 2026
1 check passed
@trogulja trogulja deleted the fix/devctl-skip-pull-no-upstream branch April 1, 2026 07:50
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