What Release Engineering Is
A build turns source code into a binary. A release turns a particular commit into something other people can rely on: a version number that means something, a changelog that says what changed, artifacts that can be downloaded and verified, and a record that lets anyone find the exact source again. Release engineering is the discipline that makes this boring, repeatable and automatic.
What a release is made of
| Part | Question it answers | Taught in |
|---|---|---|
| Version | "Is 2.4.0 safe to take if I'm on 2.3.1?" | Semantic Versioning & Precedence, Calendar Versioning |
| Tag | "Which commit is 2.4.0?" | Annotated vs Lightweight Tags |
| Changelog / release notes | "What changed, and do I need to do anything?" | Changelogs for Humans, git-cliff |
| Artifacts | "What do I download, and is it the real thing?" | Artifact Naming & Checksums |
| Pipeline | "Who built it, from what, and can we do it again?" | the CI/CD section, starting with A Model of a CI Job Graph |
| Process | "How do we ship safely, and undo it if it goes wrong?" | Feature Flags, Rollbacks, Release Trains |
The goal of the whole course fits in one sentence: a release should be the output of a pipeline, never the output of a person's laptop.
Who this course is for
You can use Git day to day (branches, merges, tags, pushing). The Git course covers that; its lesson Git CI/CD is the starting point for the CI part here. You should also know what a build produces and why reproducibility matters (Build Fundamentals, especially Reproducible Builds), and recognise a Dockerfile (Docker). Game developers will find the store-specific side (Steam, itch.io, mobile stores) in Assets, Tools & Shipping.
How the examples run
Three kinds of example appear in every lesson:
- Real tool sessions (
bashblocks with output). They ran in a container with Git 2.43, git-cliff 2.14.2, semantic-release 25.0.9, commitlint 21.2.4, changesets 3.0.3, the GitHub CLI 2.103.1 and Node.js 24. The container has no network, so every "remote" is a bare Git repository on the same disk, which is exactly how you should rehearse a release pipeline anyway. Commit dates are fixed (2026-01-15 10:00 UTC), so commit hashes are the same on every run. - Runnable models (
jsandpythonblocks you can run in the browser): a SemVer comparator, a CalVer generator, a CI job-graph expander, a feature-flag evaluator. They show the logic the tools implement. - Configuration and workflow files (YAML, TOML, JSON) shown as plain code. CI workflows can't run here; they are written against the current GitHub, GitLab and Jenkins documentation.
A release in miniature
Here is the whole idea in one session: a project with a bare "remote", two commits, an annotated tag, a changelog generated from the commits, and a source archive with a checksum. Every later lesson takes one of these steps and does it properly.
git init -q --bare remote.git
git clone -q remote.git hello 2>/dev/null && cd hello
printf '#!/bin/sh\necho "hello, release"\n' > hello.sh
git add hello.sh && git commit -q -m "feat: print a greeting"
printf '#!/bin/sh\necho "hello, release!"\n' > hello.sh
git commit -q -am "fix: add the missing exclamation mark"
git tag -a v1.0.0 -m "hello 1.0.0"
git push -q origin main v1.0.0
git ls-remote --tags origin
git-cliff --latest 2>/dev/null | head -9
git archive --format=tar.gz --prefix=hello-1.0.0/ -o hello-1.0.0.tar.gz v1.0.0
sha256sum hello-1.0.0.tar.gz > SHA256SUMS
cat SHA256SUMS
sha256sum -c SHA256SUMSf54c18ec11813fcd0d1152482e9042254c13c3d5 refs/tags/v1.0.0
567fa235eb2695c8e57873279a9002666d0e675f refs/tags/v1.0.0^{}
## [1.0.0] - 2026-01-15
### 🚀 Features
- Print a greeting
### 🐛 Bug Fixes
- Add the missing exclamation mark
bf19b7e441ccbc3cde91c91063d2c7d15876f2464a39a4e96028f15bbee07ada hello-1.0.0.tar.gz
hello-1.0.0.tar.gz: OK
Read it from the top:
remote.gitplays the part of GitHub: pushing to it is what "publishing the tag" means.git ls-remoteshows two lines for the tag: the annotated tag object itself, and (^{}) the commit it points to.- git-cliff prints a warning on stderr when there is no
cliff.toml;2>/dev/nullhides it here, and Configuring git-cliff writes one. - The commit messages follow Conventional Commits (
feat:,fix:), so git-cliff can sort them into sections without any configuration. git archivebuilds the archive from the tag, not from the working directory, so uncommitted files can never leak into a release.SHA256SUMSlets anyone check the download. The archive is reproducible:git archivestamps entries with the commit time, so building it again from the same tag gives the same bytes and the same checksum.
Release engineering vs DevOps vs build engineering
| Role | Main question | Typical output |
|---|---|---|
| Build engineer | "How does this code become a binary, fast and reproducibly?" | build files, caches, toolchains |
| Release engineer | "How does a binary become a versioned, documented, trustworthy release?" | versioning policy, release pipeline, branch strategy, changelogs |
| DevOps / SRE | "How does the release run in production, and stay up?" | deployments, monitoring, incident response |
The boundaries are fuzzy, and in a small team one person does all three. The course follows the release engineer's view and points to Docker, Kubernetes and the planned Supply Chain Security course where the others take over.
Test yourself
Why does the session build the archive with git archive … v1.0.0 instead of tar on the working folder?
tarcan't make .tar.gz files- The archive then contains exactly the tagged commit, never uncommitted or ignored files
git archiveis faster- Only
git archivecan be checksummed
What does a bare repository (git init --bare) stand in for in these sessions?
- A backup of the working directory
- The hosted remote (GitHub, GitLab) that releases are pushed to
- A Git LFS server
- The CI runner
Which statement best summarises the course's goal?
- Every developer should be able to release from their laptop
- A release should be the output of a pipeline, not of a person's machine
- Releases should be rare
- Changelogs are optional