From 8224247009b13c3250afa0b02086fe6a87edfbf0 Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Sun, 12 Jul 2026 15:04:23 +0200 Subject: [PATCH] build(release): track single root product version in release-please Veect is a hosted SaaS deploying continuously (ADR-027), so release-please now tracks only the root package with plain v* tags. Drops the five packages/* entries ahead of story 03's feature deletions so ADR-021's commit -> release automation keeps working through them. include-component-in-tag is set to false rather than removed: the upstream default is true and the node strategy derives a component from package.json, so literal key removal would keep component-prefixed tags (template-vertical-v*) instead of the wanted plain v* tags. Pre-1.0 bump policy (bump-patch-for-minor-pre-major) and changelog sections are retained. The release workflow's SBOM steps already use the tag-format-agnostic tag_name output; only its header comment needed updating. Per-feature CHANGELOG.md files stay on disk untracked by release-please until story 03 deletes them with their packages. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK --- .github/workflows/release-please.yml | 16 ++++++++-------- .release-please-manifest.json | 7 +------ release-please-config.json | 28 +--------------------------- 3 files changed, 10 insertions(+), 41 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f845926..2817f42 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -2,20 +2,20 @@ # # How it works: # 1. On every push to main, release-please scans conventional commits since -# the last release tag for each tracked package. +# the last release tag. # 2. It opens (or updates) a single rolling "release PR" containing: -# - version bumps in each affected package.json +# - the root package.json version bump # - new CHANGELOG.md entries grouped by section (Features / Bug Fixes # / Performance / Refactoring / Documentation / Reverts) # - updated .release-please-manifest.json -# 3. Merging that PR triggers tag creation (`template-vN.N.N`, `auth-vN.N.N`, -# etc.) and GitHub release notes. +# 3. Merging that PR triggers tag creation (`vN.N.N`) and GitHub release +# notes. # -# Hybrid versioning (ADR-021): root template versions independently from the -# 5 feature packages. Tags use the per-package component prefix so they don't -# collide (e.g. `template-v0.2.0` vs `auth-v0.1.1`). +# Single product version (ADR-027 supersedes ADR-021's hybrid scheme): Veect +# is a hosted SaaS deploying continuously, so only the root package is +# tracked and tags are plain `v*` (`include-component-in-tag: false`). # -# Tracked packages, manifest baseline, and changelog sections live in +# Tracked package, manifest baseline, and changelog sections live in # `release-please-config.json` + `.release-please-manifest.json`. name: Release Please diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0fcdd6e..466df71 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,8 +1,3 @@ { - ".": "0.1.0", - "packages/auth": "0.1.0", - "packages/blog": "0.1.0", - "packages/media": "0.1.0", - "packages/marketing-pages": "0.1.0", - "packages/navigation": "0.1.0" + ".": "0.1.0" } diff --git a/release-please-config.json b/release-please-config.json index 5c8422f..fb44715 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", "release-type": "node", - "include-component-in-tag": true, + "include-component-in-tag": false, "separate-pull-requests": false, "bump-minor-pre-major": false, "bump-patch-for-minor-pre-major": true, @@ -23,32 +23,6 @@ "packages": { ".": { "package-name": "template-vertical", - "component": "template", - "changelog-path": "CHANGELOG.md" - }, - "packages/auth": { - "package-name": "@repo/auth", - "component": "auth", - "changelog-path": "CHANGELOG.md" - }, - "packages/blog": { - "package-name": "@repo/blog", - "component": "blog", - "changelog-path": "CHANGELOG.md" - }, - "packages/media": { - "package-name": "@repo/media", - "component": "media", - "changelog-path": "CHANGELOG.md" - }, - "packages/marketing-pages": { - "package-name": "@repo/marketing-pages", - "component": "marketing-pages", - "changelog-path": "CHANGELOG.md" - }, - "packages/navigation": { - "package-name": "@repo/navigation", - "component": "navigation", "changelog-path": "CHANGELOG.md" } }