Skip to content

IT-Journey Versioning: Semver and Release Strategy

Why version a learning site

IT-Journey ships no binaries, but the site still changes in ways worth tracking: new quests and levels, layout and navigation changes, frontmatter schema migrations, moved permalinks, and tooling upgrades. A version number and a changelog answer "what changed between these two releases?" without digging through the commit history.

How a release happens

  1. Every change reaches main through a pull request whose commit messages follow Conventional Commits: feat:, fix:, docs: and so on.
  2. On each push to main, the release.yml workflow runs release-please. It reads the new commits and keeps one release pull request open with the next version number and the changelog entry it will add.
  3. Merging that release pull request puts the new version and its changelog entry on main. release-please then tags the release (vMAJOR.MINOR.PATCH) and publishes it on the releases page.

No one picks a version number or pushes a tag by hand. The live site is published from main once its checks pass, on its own schedule, so a release records what changed; it does not deploy anything.

Which number moves

Releases follow semantic versioning, MAJOR.MINOR.PATCH, and the commit types decide which number moves:

Segment Moved by For example
MAJOR A breaking change: ! after the type (feat!:) or a BREAKING CHANGE: footer A new permalink scheme that breaks old links
MINOR feat: A new quest level or a new kind of page
PATCH fix:, docs:, perf:, refactor:, deps: and revert: A broken link fixed, a guide corrected

While the major version is 0, a breaking change moves MINOR instead of MAJOR. Commits typed chore:, ci:, test:, style: or build: stay out of the changelog, so on their own they never cause a release. The release-please configuration is the source of truth for these rules.

The changelog

CHANGELOG.md follows Keep a Changelog and is generated: release-please writes each entry from the commit messages, under Added, Fixed, Changed, Removed and Documentation. Never edit it, or a version number, by hand. The entries are the commit messages, so write each one for the person who will read the changelog.

The theme versions on its own

The site has two parts, and each releases on its own schedule:

  • IT-Journey: the quests, notes, digs, about pages, data and tooling in this repository. Its releases are the ones described above.
  • zer0-mistakes: the Jekyll theme that supplies the layouts, styles and includes. It is versioned and released in its own repository.

The site loads the theme as an unpinned remote_theme, so every build uses the theme's latest main, and a theme change reaches the site at its next build without an IT-Journey release. The theme files this site deliberately overrides are listed in .theme-overrides.yml; theme bugs are fixed upstream.