dbx-merge-release

Installation
SKILL.md

dbx-merge-release

Automated workflow for merging the main branch back into develop after a release has been cut. Uses the shell scripts in the repository root.

Context

After a release is published (via CircleCI), the main branch has release commits (version bumps, changelog, tag) that need to be merged back into develop.

Important constraint: Main and develop do NOT share linear history — main gets force-merged release commits. This means git rebase origin/main will never work (it tries to replay the entire repo). Always use the merge scripts.

How It Works

The scripts handle two cases automatically:

  1. No new commits on develop: Simple merge. Conflicts (if any) are from CI-generated version bumps — resolve with --theirs.

  2. New commits on develop after the release: The start-merge-in-main.sh script detects commits on develop that have a UTC timestamp after the latest commit on origin/main. It saves them to a temporary branch (temp/develop-new-commits), resets develop back, then does the merge. After end-merge-in-main.sh completes, the agent rebases the saved commits on top of develop so they appear after the new -dev tag and will be included in the next release.

Workflow

Installs
8
GitHub Stars
13
First Seen
Mar 7, 2026
dbx-merge-release — dereekb/dbx-components