petar-djukic

Gh Release Push — Development skill for Claude Code

Development community

Tag and push a release from green main.

How to install Gh Release Push

Installs to ~/.claude/commands/petar-djukic-coding-skills-gh-release-push.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/petar-djukic/coding-skills/HEAD/.claude/commands/gh-release-push.md -o ~/.claude/commands/petar-djukic-coding-skills-gh-release-push.md

Restart Claude Code, or start a new session, for it to be picked up.

What Gh Release Push does

Tag and push a release from green `main`.

Precondition — main branch, no worktree

A release tags a green `main`. It produces no code change and never runs on a worktree branch. Stop immediately if the current branch is not `main`:

branch=$(git branch --show-current)
[ "$branch" = "main" ] || { echo "Release must run on main (currently on '$branch'). Abort."; exit 1; }

Steps

  1. Run the repo's full release gate set. Where mage -l lists targets, mage tag is the entry p

Alternatives in Development

Full documentation available on GitHub

View Source Repository