Automation
GitHub Release and Milestone CLI
Author: Nara Avila | Published 12 Dec 2025
The delivery workshop

From an empty backlog to a published version

GitHub Version Control is a Zsh module that connects GitHub issues, versioned Projects and release history. Start in a repository with no open development line, create the first task and grow the backlog. Deliver an issue with a patch tag, publish a minor release and prepare the next major version. Git records the code; this workflow connects that code to the work planned and shipped.

01

Inspect the repository before creating anything

Run todo inside the target repository. A message saying no open development line was found means there is no linked open Project named vX.Y.x. It does not create a Project or modify the repository.

01 / Begin without a development lineFictional example
 atlas-tools git:(main) % todo
No open dev line project (vX.Y.x) found for example-lab/atlas-tools.
The fictional repository exists on GitHub, but no linked development Project is open. todo only inspects the current state.
Create the first task →
02

Let the first task open the development line

Use rel init with an actionable task title. With no existing development line or version tags, the module creates and links v0.0.x, creates issue #1 and adds it to the Project. Run todo again to verify the result. Project number #19 is an example; GitHub assigns the actual number.

02 / Create the first taskFictional example
 atlas-tools git:(main) % rel init "Create the command-line entry point"
Open dev line found: v0.0.x (#19)
Creating items (kind=feature):
  • created: #1 Create the command-line entry point
 atlas-tools git:(main) % todo
Open dev line (Project): v0.0.x (#19)
   Patch: rel p #<issue>   | Minor: rel m   | Major: rel M

- [TODO] #1  Create the command-line entry point
rel init creates and links the initial v0.0.x Project, then adds the first feature issue. “Open dev line found” is the command’s message even when it just created that line.
Add a fix and a feature →
03

Build a backlog around the same Project

Use rel fix to register a fix and rel init to register another feature. Both commands reuse the open development line. For multiple tasks in one call, separate titles with --, for example rel init "Add search" -- "Document the API".

03 / Grow the backlogFictional example
 atlas-tools git:(main) % rel fix "Handle missing export folders"
Open dev line found: v0.0.x (#19)
Creating items (kind=fix):
  • created: #2 (FIX) Handle missing export folders
 atlas-tools git:(main) % rel init "Add a project summary command"
Open dev line found: v0.0.x (#19)
Creating items (kind=feature):
  • created: #3 Add a project summary command
One repository, one development line: add a fix and another feature. Issue numbers #1, #2 and #3 remain consistent throughout this guide.
Review pending work →
04

Read the queue before choosing a delivery

The standalone todo lists the development line and its items. Here #1 and #3 are feature tasks, while #2 is labeled FIX. Use rel progress 1 to mark work in progress, rel todo 1 to reset its status or rel done 1 to mark it complete. Those commands update planning status; they do not commit or publish code.

04 / Review the pending workFictional example
 atlas-tools git:(main) % todo
Open dev line (Project): v0.0.x (#19)
   Patch: rel p #<issue>   | Minor: rel m   | Major: rel M

- [TODO] #1  Create the command-line entry point
- [TODO] #3  Add a project summary command
- [FIX]  #2  Handle missing export folders
todo lists the Project items. rel todo <issue> changes a status; it is not the listing command.
Deliver issue #1 →
05

Attach a patch tag to the first completed task

Implement issue #1, commit it and push the intended code to the default branch. Then run rel p 1. The command creates the next patch tag at the remote default branch HEAD, attempts to mark the Project item Done and comments on the issue with the tag. It creates a tag rather than a GitHub Release. The development “milestone” in this module is the versioned Project.

05 / Deliver the first taskFictional example
 atlas-tools git:(main) % rel p 1
[info] example-lab/atlas-tools
[info] Tag to create: v0.0 -> v0.0.1
[info] Tag created: v0.0.1 (at main)
[info] project item #1 marked as Done.
 atlas-tools git:(main) % todo
Open dev line (Project): v0.0.x (#19)
   Patch: rel p #<issue>   | Minor: rel m   | Major: rel M

- [done] #1  Create the command-line entry point
- [TODO] #3  Add a project summary command
- [FIX]  #2  Handle missing export folders
After committing and pushing the implementation, rel p 1 creates a patch tag and marks #1 Done. The other two issues stay pending.
Publish the minor version →
06

Publish what shipped and carry the backlog forward

Run rel m to publish v0.1 with notes from the current Project. Completed issue #1 stays in the released Project. The command moves unfinished #2 and #3 to v0.1.x and closes the old Project. Run todo afterward to review the remaining work in the next development line.

06 / Publish the minor releaseFictional example
 atlas-tools git:(main) % rel m
[info] example-lab/atlas-tools
[info] Tag to create: v0.0.1 -> v0.1
[info] Release created: v0.1
…
Project closed: v0.1 (released) (#19)
 atlas-tools git:(main) % todo
Open dev line (Project): v0.1.x (#20)
   Patch: rel p #<issue>   | Minor: rel m   | Major: rel M

- [TODO] #3  Add a project summary command
- [FIX]  #2  Handle missing export folders
Published
v0.1
Completed history
v0.1 (released) · #1 Done
Remaining work
v0.1.x · #2 and #3 pending
Condensed successful-path illustration. After publishing v0.1, verify that both unfinished issues are present in the next development line.
Prepare the major version →
07

Finish the remaining work before a major release

Implement and push issues #2 and #3, then mark them Done. Use uppercase rel M to publish v1.0.0, rename and close the current Project, and mark all its items Done. The module asks whether to open v1.0.x; that next line is optional. Reconcile unfinished work before this command because it marks every current item Done.

07 / Prepare a major versionFictional example
 atlas-tools git:(main) % rel done 2
 atlas-tools git:(main) % rel done 3
 atlas-tools git:(main) % rel M
Published
v1.0.0
Closed Project
v1.0 (released) · current items Done
Optional next line
v1.0.x · created if you confirm the prompt
Once #2 and #3 have actually been implemented and pushed, mark them Done and publish the major version. State cards summarize the result; they are not execution output.
Command reference: why rel task shows help
Reference / The supported commandsFictional example
 atlas-tools git:(main) % rel task
Usage:
  rel init Item A -- Item B -- Item C
  rel fix Item A -- Item B -- Item C
  rel p <issue>        (patch release)
  rel m                (minor release)
  rel M                (major release)
  rel todo <issue>     (set Status=Todo)
  rel progress <issue> (set Status=In Progress)
  rel done <issue>     (set Status=Done)
rel task is unsupported. The help output names rel init as the command for new feature tasks.
Before this walkthrough: load the module in Zsh

Install Git, GitHub CLI and jq, authenticate with repository and Project permissions, and load the functions from a local checkout of the module. Replace the final path with your own target repository. This setup block loads functions; it does not create tasks or releases.

gh auth login
gh auth refresh -s project
git clone https://github.com/automation-scripting/github-version-control.git "$HOME/github-version-control"

source "$HOME/github-version-control/rel/rel-lib.zsh"
source "$HOME/github-version-control/rel/rel-release.zsh"
source "$HOME/github-version-control/prj/prj-init.zsh"
source "$HOME/github-version-control/prj/prj-todo.zsh"
source "$HOME/github-version-control/prj/prj-set-item-status.zsh"
source "$HOME/github-version-control/rel/rel.zsh"

cd /path/to/your/github-project
Source: GitHub Version Control. Commands were checked against the local module and the supplied terminal sessions on October 5, 2026. Examples do not execute commands or change repositories.

This page was last updated at 2026-11-03 16:10.