Commit Graph

8 Commits

Author SHA1 Message Date
Lars Trieloff baa8015867 fix(release): path-filter release-notes-generator + restore slicc-handoff CHANGELOG (#144)
PR #139 wrapped commit-analyzer with path filtering but tried to fix
release-notes-generator with gitRawCommitsOpts: { path: '.' } -- a
no-op because the plugin reads context.commits from semantic-release,
never gitRawCommitsOpts. Result: every skill release body and CHANGELOG
included commits from the entire repo (see slicc-handoff-v1.0.0).

- Add scripts/path-filtered-notes-generator.cjs mirroring the analyzer
  wrapper -- filters context.commits via git log -- . before delegating
  to the real plugin.
- Wire it into release.config.cjs in place of the bare plugin entry;
  drop the dead gitRawCommitsOpts config.
- Regenerate plugins/aem/edge-delivery-services/skills/slicc-handoff/
  CHANGELOG.md (skipped by PR #140 because the tag did not exist yet).
2026-05-21 15:21:52 -07:00
Lars Trieloff bca6437855 Merge pull request #140 from adobe/chore/clean-up-changelogs
chore: regenerate all skill CHANGELOGs with path-filtered history
2026-05-21 09:00:21 -07:00
Lars Trieloff 118cb162c6 chore: regenerate all skill CHANGELOGs with path-filtered history
All existing CHANGELOG.md files contained commits from the entire repo
since the skill's last tag, making release notes meaningless. This
regenerates each one from scratch using git log filtered to the skill's
own directory, following up on #139 which fixed the root cause for
future releases.

Empty release sections (e.g. 1.0.0) indicate versions bumped solely by
docs/refactor commits, which is correct — the angular preset omits those
types from the CHANGELOG body.

Also adds scripts/regenerate-changelogs.cjs in case a manual re-run is
ever needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 14:41:38 -07:00
Lars Trieloff 031dfb5f96 fix(release): address PR review comments on path-filtered-analyzer
- Use execFileSync with argument array instead of execSync with
  interpolated string to avoid shell injection risk
- Log a warning via context.logger when the git fallback is triggered
  so failures are diagnosable rather than silently swallowed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 10:43:03 -07:00
Lars Trieloff 6a7a15583a fix(release): filter release notes and version bumps to skill directory
Each skill was including all repo commits in its CHANGELOG and GitHub
release body, and unrelated breaking changes were triggering spurious
major bumps. Fix by path-filtering at both the commit-analysis and
note-generation stages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 10:31:03 -07:00
Augment Code 33598bb9c6 fix: exclude release files from .skill archive, resilient version matching
Signed-off-by: Lars Trieloff <lars@trieloff.net>
2026-04-10 15:54:06 +02:00
Augment Code bd84255f62 fix: address PR review comments
Signed-off-by: Lars Trieloff <lars@trieloff.net>
2026-04-10 15:20:04 +02:00
Lars Trieloff 770d1dc9b8 ci: add automated skill release pipeline with semantic-release
Agent-Id: agent-e17c5a14-d644-490b-a823-be08213f2b56
Linked-Note-Id: 58d51a58-baf5-4cb0-b2dc-9ece2c0ffc0d
2026-04-10 13:16:04 +02:00