Skip to content

fix(release): bump version to 0.2.1 and fix workflow for protected branches#290

Merged
LuD1161 merged 2 commits into
mainfrom
LuD1161/fix-release-workflow
Feb 15, 2026
Merged

fix(release): bump version to 0.2.1 and fix workflow for protected branches#290
LuD1161 merged 2 commits into
mainfrom
LuD1161/fix-release-workflow

Conversation

@LuD1161

@LuD1161 LuD1161 commented Feb 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps root package.json version from 0.2.0 to 0.2.1
  • Fixes the release workflow to create a PR for version bumps instead of pushing directly to main

Problem

The release workflow's "Bump package.json version on main" step was pushing directly to main, which fails when branch protection requires PRs.

Fix

Changed the version bump step to:

  1. Create a feature branch (chore/bump-version-X.Y.Z)
  2. Open a PR against main
  3. Enable auto-merge (squash) if the repo has it configured

Test plan

  • Merge this PR
  • Trigger next release and verify the workflow creates a version bump PR automatically

Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
The release workflow was failing to bump package.json because main
is a protected branch that requires PRs. Changed the version bump
step to create a PR with auto-merge enabled instead of pushing
directly to main.

Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
@LuD1161 LuD1161 changed the title chore: bump version to 0.2.1 fix(release): bump version to 0.2.1 and fix workflow for protected branches Feb 15, 2026
@LuD1161 LuD1161 merged commit 6b3e039 into main Feb 15, 2026
3 checks passed
@LuD1161 LuD1161 deleted the LuD1161/fix-release-workflow branch February 15, 2026 23:54
@LuD1161 LuD1161 restored the LuD1161/fix-release-workflow branch February 16, 2026 00:01
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