big-release
π Unified, multi-language release automation β one tool, all languages.
Live demos β every badge below is a real app whose version was set and deployed by big-release itself, on the last merge to main:
What is big-release?
big-release is a unified release tool that automatically:
- π Analyzes commits using Conventional Commits
- π’ Determines the next version (patch, minor, major)
- π Generates changelogs in Keep a Changelog format
- π·οΈ Creates git tags with proper formatting
- π¦ Publishes packages to any registry (npm, pnpm, PyPI, crates.io, Maven, Go, Swift, Packagist, Godot)
- π― Creates GitHub releases with assets, templates, and issue commenting
- π Supports GitLab releases with assets and issue commenting
- π’ Multi-channel releases via git notes and dist-tags
Why big-release?
| Problem |
Solution |
| Different tools per language |
One tool for all |
| Inconsistent workflows |
Unified behavior |
| Complex setup |
Single binary, zero config |
| Language-specific learning curve |
Same CLI everywhere |
| semantic-release requires Node.js |
Go binary, no runtime |
| Publishing back to a protected branch gets rejected |
Works on protected branches with zero GitHub config β tags + Releases via API, no commit pushed to the branch |
Supported Languages
| Language |
Publisher |
Registry |
| JavaScript/TypeScript |
npm |
npmjs.com |
| JavaScript/TypeScript (pnpm) |
pnpm |
npm-compatible registries |
| Python |
pypi |
pypi.org |
| Rust |
crates |
crates.io |
| Go |
goproxy |
proxy.golang.org |
| PHP |
packagist |
packagist.org |
| Java |
maven |
maven central |
| Swift |
swift |
swiftpackageindex.com |
| Godot/GDScript |
godot |
GitHub Releases |
Live Demos
big-release releases itself onto four real, running apps β one per language. Each site reads its own VERSION, which big-release bumps automatically on every merge to main. The version you see on each page is live proof that the whole pipeline works β and the repo behind it is a copy-pasteable reference setup for that language.
big-release vs semantic-release
big-release is a from-scratch Go port of semantic-release's core algorithm, built to fix the two things that make semantic-release awkward outside the Node ecosystem.
|
big-release |
semantic-release |
| Runtime |
Single static binary, no runtime |
Requires Node.js + npm install |
| Languages |
Go, Node, Python, Rust, PHP, Java, Swift, Godot |
Node-first (others via community plugins) |
| Protected branches |
Works with zero GitHub config out of the box |
@semantic-release/git opt-in requires branch-protection accommodation |
| Config |
One .big-release.yml |
.releaserc + per-plugin npm installs |
| Conventional Commits |
β
|
β
|
| Multi-channel / prerelease |
β
|
β
|
| GitHub + GitLab Releases |
β
|
β
(separate plugins) |
Why it works on protected branches by default: like semantic-release's core flow, big-release never commits back to your release branch unless you explicitly opt in (via git.assets). It only pushes a tag and creates the GitHub/GitLab Release through the REST API β neither of which touches refs/heads, so branch protection never rejects it. Committing changelogs/version bumps back to the branch is available, but (as with @semantic-release/git) that path needs you to accommodate branch protection yourself.
Acknowledgments
big-release is a from-scratch, language-agnostic port of semantic-release's core algorithm and release workflow. The design, versioning logic, commit analysis, and multi-branch release patterns are derived from their excellent work.
We're grateful to the semantic-release team and community for establishing the conventions and practices that make automated releases reliable and predictable across all languages.
semantic-release is licensed under the MIT License (Copyright 2017 Contributors).
Quick Start
Install
# macOS (Apple Silicon)
curl -sL https://github.com/danielvm-git/big-release/releases/latest/download/big-release-darwin-arm64 -o big-release
chmod +x big-release
sudo mv big-release /usr/local/bin/
# macOS (Intel)
curl -sL https://github.com/danielvm-git/big-release/releases/latest/download/big-release-darwin-amd64 -o big-release
chmod +x big-release
sudo mv big-release /usr/local/bin/
# Linux
curl -sL https://github.com/danielvm-git/big-release/releases/latest/download/big-release-linux-amd64 -o big-release
# Verify integrity against the published SHA256 checksum (every binary ships a .sha256 asset)
curl -sL https://github.com/danielvm-git/big-release/releases/latest/download/big-release-linux-amd64.sha256 -o big-release.sha256
echo "$(cat big-release.sha256) big-release" | sha256sum -c -
chmod +x big-release
sudo mv big-release /usr/local/bin/
Usage
# Basic release
big-release
# Dry run (see what would happen)
big-release --dry-run
# Verbose output
big-release --verbose
# Validate configuration
big-release validate
# Show current version
big-release version
Configuration
Create .big-release.yml in your project root:
# Branch configuration
branches:
- main # release branch
- next # release branch
- "N.x" # maintenance branch
- name: beta
prerelease: true # prerelease branch
# Tag format
tagFormat: "v${version}"
# Publishers (auto-detected, but can be configured)
publishers:
npm:
enabled: true
pypi:
enabled: true
crates:
enabled: true
# Plugins
plugins:
- changelog # writes CHANGELOG.md β see note below
- git # commits CHANGELOG.md back to the branch β see note below
- github # creates the GitHub Release (tag + notes via API) β protected-branch safe
# GitHub plugin configuration (optional)
pluginConfigs:
github:
assets:
- path: "dist/*.tar.gz"
- path: "dist/*.zip"
label: "Source code"
draftRelease: false
releaseName: "v${version}"
successComment: "π Released in version ${version}"
releasedLabels:
- released
# Commit type visibility in changelog (optional)
commitTypes:
- type: feat
section: Features
- type: fix
section: Bug Fixes
- type: perf
section: Performance
- type: revert
section: Reverts
- type: docs
hidden: true
- type: chore
hidden: true
- type: refactor
hidden: true
Protected branches: the git plugin commits CHANGELOG.md (and any git.assets) back to your release branch. GitHub rejects direct pushes to a protected branch for non-admin actors (like github-actions[bot]), so on a protected main either (a) drop changelog/git and let release notes live on the GitHub Release (zero config, what big-release's own repo does), or (b) keep them and accommodate branch protection yourself. The github plugin alone never touches the branch.
CI / CD
Pipeline: .github/workflows/test-build-release.yml β lint β test β build β release (explicit needs:).
- PRs / push to
main: lint, test, build. Build uploads host binary artifact big-release-<sha>.
- Push to
main only: release downloads that artifact, cross-compiles release assets (make release), then runs big-release release β no second host compile.
- No
deploy.yml: this is a CLI; it publishes via the release job (GitHub Releases). Deploy checklist (host environment, post-deploy smoke, rollback) is N/A.
main branch protection requires the lint, test, and build status checks. As solo owner, direct push to main remains allowed (enforce_admins: false); contributors should still use PRs.
Using big-release in another repo
# Example consumer workflow (install published binary, then release)
name: Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install big-release
run: |
curl -sL https://github.com/danielvm-git/big-release/releases/latest/download/big-release-linux-amd64 -o big-release
chmod +x big-release
sudo mv big-release /usr/local/bin/
- name: Run big-release
run: big-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GitLab Action
# .gitlab-ci.yml
release:
stage: release
image: golang:1.26
rules:
- if: $CI_COMMIT_TAG
script:
- curl -sL https://github.com/danielvm-git/big-release/releases/latest/download/big-release-linux-amd64 -o big-release
- chmod +x big-release
- ./big-release
variables:
GITLAB_TOKEN: $GITLAB_TOKEN
Documentation
Architecture
big-release/
βββ cmd/big-release/ # CLI entry point
βββ internal/
β βββ algorithm/ # Core release algorithm
β β βββ analyzer.go # Commit analysis
β β βββ calculator.go # Version calculation
β β βββ generator.go # Changelog generation
β β βββ revert.go # Revert commit filtering
β β βββ types.go # Data types
β βββ git/ # Git operations
β βββ config/ # Configuration loading
β βββ plugins/ # Plugin system
β β βββ changelog.go # Changelog plugin
β β βββ git.go # Git plugin
β β βββ github.go # GitHub releases
β β βββ github_assets.go # GitHub asset uploads
β β βββ github_success.go # GitHub issue commenting
β β βββ registry.go # Plugin registry
β βββ publishers/ # Language-specific publishers
β βββ npm/ # npm publishing
β βββ pnpm/ # pnpm publishing
β βββ nodeutil/ # shared package.json helpers
β βββ pypi/ # PyPI publishing
β βββ crates/ # crates.io publishing
β βββ goproxy/ # Go proxy publishing
β βββ maven/ # Maven publishing
β βββ swift/ # Swift Package Manager
β βββ packagist/ # Packagist publishing
β βββ godot/ # Godot Asset Library
βββ pkg/release/ # Public API
βββ docs/ # Documentation (DiΓ‘taxis)
βββ specs/ # Planning & specs
βββ tests/ # Test suite
Features
Conventional Commits
big-release analyzes commit messages following the Conventional Commits specification:
feat: β Minor version bump
fix: