OPEN SOURCE / PUBLIC REPOSITORY

shiptag

A Go CLI and GitHub Action that turns Conventional Commits into semantic versions and releases on GitHub, GitLab, and Bitbucket.

Inspect GitHub repository
GoRelease EngineeringGitHub ActionsGitLab CIBitbucket
shiptag tag --dry-run
shiptag tag --dry-run
Provider: github (faridlamaul/shiptag)
Next tag: v0.3.0 (minor)
Reason: minor ← feat(action): run shiptag as a GitHub Action
3 platformsGitHub, GitLab & Bitbucket Cloud
Local analysisDry runs need no token
Safe re-runsA released commit never ships twice

Open-source project maintained on GitHub · Source code, releases, and usage docs are available in the public repository.

shiptag reads the Conventional Commits in a repository’s history, calculates the next semantic version, renders categorized release notes, and publishes the release to GitHub, GitLab, or Bitbucket Cloud. The platform is detected from the CI environment, so one tool and one config cover all three.

Architecture & workflow

shiptag is a single static Go binary, also published as a multi-arch container image with provenance and an SBOM. On GitHub it runs as an Action (uses: faridlamaul/shiptag@v0). Three commands share one pipeline:

  • next-version: prints the next tag, or nothing when no commit warrants a release.
  • changelog: renders the unreleased commits as Markdown notes grouped by type, linked to their pull or merge requests and issues, with contributors credited.
  • tag: publishes a GitHub Release, a GitLab Release, or an annotated Bitbucket tag, then writes released, version, and tag as CI outputs for the next steps.

Tags and commits are read from the local clone, so results match across CI systems and --dry-run previews need no token. A commit that is already released prints nothing to release and exits 0, which keeps re-runs safe. shiptag releases itself: every merge to main tags the version, publishes the notes, and ships the binaries and image. It is also the version step of shipguard release, which releases this portfolio and omp-cost.

# Preview the next version, the reasons, and the release notes without publishing
shiptag tag --dry-run

# Monorepo package with its own tags and history
shiptag tag --tag-prefix api/ --path services/api