From 369a355bf2dae9373b87863395725dbb5e28c185 Mon Sep 17 00:00:00 2001 From: Ben Houston Date: Fri, 25 Sep 2026 15:53:03 -0400 Subject: [PATCH] chore(release): drop generated CHANGELOG.md, GitHub Releases only Remove the @semantic-release/changelog plugin and its devDependency; drop CHANGELOG.md from the @semantic-release/github asset list (tarballs stay). GitHub Releases is now the sole changelog of record. Closes #73 --- RELEASING.md | 2 +- package.json | 1 - pnpm-lock.yaml | 20 ++------------------ release.config.js | 3 +-- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 7ec4a4d..4d42aed 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -43,7 +43,7 @@ Semantic-release analyzes Conventional Commits since the last `v*` tag. `feat` p `hdrify`, `hdrify-cli`, and `hdrify-react` share one version and publish in dependency order via `pnpm publish` (through `@anolilab/semantic-release-pnpm`, one plugin instance per package), which updates each `package.json` version and rewrites any `workspace:*` internal dependency to a resolved semver range natively. The VS Code extension (`packages/hdrify-vscode-extension`) shares the same version stream — `release.config.js` pins its `package.json` version to `nextRelease.version` alongside the npm packages — but is never `npm publish`'d; instead it's built, packaged with `vsce`, and published to the VS Code Marketplace and Open VSX Registry (`scripts/release-vscode-extension.mjs`), requiring the `VSCE_PAT` and `OVSX_PAT` repository secrets. The website retains its existing delivery path. Source package versions are development snapshots; the authoritative released version is the Git tag/npm version. Each package's `files` field ships built JS and declarations, and npm/pnpm packing conventions include the package's own README and LICENSE automatically. It does not write version commits to protected branches. -Each GitHub Release contains generated release notes, a `CHANGELOG.md` for that release, and all three npm tarballs. [GitHub Releases](https://github.com/bhouston/hdrify/releases) is the cumulative changelog. The generated file is not committed back to source. +Each GitHub Release contains generated release notes and all three npm tarballs. [GitHub Releases](https://github.com/bhouston/hdrify/releases) is the cumulative changelog of record; releases never write a `CHANGELOG.md` back to source. The release job waits for the complete reusable CI suite and only runs from a manual dispatch against `main`. Releases are serialized and never cancel an in-progress publish. diff --git a/package.json b/package.json index 7185890..e07f7c3 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "@anolilab/semantic-release-pnpm": "^8.1.25", "@commitlint/cli": "^21.2.2", "@commitlint/config-conventional": "^21.2.2", - "@semantic-release/changelog": "^7.0.0", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/github": "^12.0.9", "@semantic-release/release-notes-generator": "^14.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d63b2c..d882db2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,9 +21,6 @@ importers: '@commitlint/config-conventional': specifier: ^21.2.2 version: 21.2.2 - '@semantic-release/changelog': - specifier: ^7.0.0 - version: 7.0.0(semantic-release@25.0.9(supports-color@10.2.2)(typescript@7.0.2)) '@semantic-release/commit-analyzer': specifier: ^13.0.1 version: 13.0.1(semantic-release@25.0.9(supports-color@10.2.2)(typescript@7.0.2))(supports-color@10.2.2) @@ -2948,12 +2945,6 @@ packages: resolution: {integrity: sha512-Nqc90v4lWCXyakD6xNyNACBJNJ0tNCwj2WNk/7ivyacYHxiITVgmLUFXTBOeCdy79iz6HtN9Y31uw/jbLrdOAg==} engines: {node: '>=20.0.0'} - '@semantic-release/changelog@7.0.0': - resolution: {integrity: sha512-TNPyag5db24o7jWjre7UwKB4EcL8oJxbRhnDQ7hmZRAYqzreAc6PgdxQuU3pppp5xQinYtiumL0iG8SSKvnlzg==} - engines: {node: ^22.22.2 || >=24.15} - peerDependencies: - semantic-release: '>=20.1.0' - '@semantic-release/commit-analyzer@13.0.1': resolution: {integrity: sha512-wdnBPHKkr9HhNhXOhZD5a2LNl91+hs8CC2vsAVYxtZH3y0dV3wKn+uZSN61rdJQZ8EGxzWB3inWocBHV9+u/CQ==} engines: {node: '>=20.8.1'} @@ -8499,7 +8490,7 @@ snapshots: '@jridgewell/gen-mapping@0.3.13': dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/sourcemap-codec': 1.6.0 '@jridgewell/trace-mapping': 0.3.31 '@jridgewell/remapping@2.3.5': @@ -10022,13 +10013,6 @@ snapshots: '@secretlint/types@10.2.2': {} - '@semantic-release/changelog@7.0.0(semantic-release@25.0.9(supports-color@10.2.2)(typescript@7.0.2))': - dependencies: - '@semantic-release/error': 4.0.0 - aggregate-error: 5.0.0 - lodash-es: 4.18.1 - semantic-release: 25.0.9(supports-color@10.2.2)(typescript@7.0.2) - '@semantic-release/commit-analyzer@13.0.1(semantic-release@25.0.9(supports-color@10.2.2)(typescript@7.0.2))(supports-color@10.2.2)': dependencies: conventional-changelog-angular: 8.3.1 @@ -14717,7 +14701,7 @@ snapshots: vite@8.1.4(@types/node@24.10.13)(esbuild@0.27.3)(jiti@2.6.1)(terser@5.48.0)(tsx@4.21.0)(yaml@2.9.0): dependencies: lightningcss: 1.32.0 - picomatch: 4.0.5 + picomatch: 4.0.7 postcss: 8.5.16 rolldown: 1.1.5 tinyglobby: 0.2.17 diff --git a/release.config.js b/release.config.js index 55cb7e8..a6398e1 100644 --- a/release.config.js +++ b/release.config.js @@ -14,7 +14,6 @@ export default { plugins: [ ['@semantic-release/commit-analyzer', { preset: 'conventionalcommits' }], ['@semantic-release/release-notes-generator', { preset: 'conventionalcommits' }], - ['@semantic-release/changelog', { changelogFile: 'CHANGELOG.md' }], // pkgRoot only (no tarballDir): @anolilab/semantic-release-pnpm's // tarballDir option shells out to `pnpm pack `, which pnpm // silently ignores in favor of packing the cwd (verified with pnpm @@ -48,7 +47,7 @@ export default { [ '@semantic-release/github', { - assets: ['CHANGELOG.md', 'release-artifacts/*.tgz'], + assets: ['release-artifacts/*.tgz'], successComment: false, failComment: false, releasedLabels: false,