First to Site
Release 3.4

Release Please Automation

Automated version management and changelog generation added in 3.4.0

Overview

v3.4.0 introduced Release Please to automate version bumps, changelog generation, and release PRs from conventional commits on master.

What Changed

GitHub Actions workflow (.github/workflows/release-please.yml) runs googleapis/release-please-action@v4 on every push to master and on manual dispatch. It requires contents: write and pull-requests: write permissions to create release PRs and tags automatically.

Configuration files:

  • release-please-config.json - uses node release type for the root fts-platform package, generates CHANGELOG.md, and prefixes tags with v. A bootstrap SHA (c4b0fc40) defines the baseline.
  • .release-please-manifest.json - initialized at version 3.3.0.

Script migration - the Bash script refresh-prod-checkout.sh was replaced with a TypeScript equivalent (refresh-prod-checkout.ts) run via Bun. A new release-prod-symlink.ts script and release:prod npm script were added.

Utility refactor - bootstrap-utils.ts was refactored to export runCommand (inherit stdio) and captureCommand (pipe stdio, return stdout) alongside the existing runStep, with configurable cwd, env, and allowExitCodes options.

Files Touched

FileChange
.github/workflows/release-please.ymlAdded
.release-please-manifest.jsonAdded
release-please-config.jsonAdded
scripts/refresh-prod-checkout.tsAdded (replaces .sh)
scripts/release-prod-symlink.tsAdded
scripts/bootstrap-utils.tsModified
package.jsonVersion bumped to 3.3.0
scripts/refresh-prod-checkout.shRemoved

Changelog Reference

  • feat: add release please automation (c77cfcb)