cyberneticlibrary

Generate release with changelog

releasecommandsetup L11
LIDR-IT/ai-assessment
What it does

Bump version, generate changelog, tag, and push release to main

Best for

Automating SemVer version bumps and changelog generation when releasing to production

Inputs
  • · package.json (current version)
  • · commit history since last tag
Outputs
  • · git tag
  • · git push to origin main with tags
  • · new version number
Requires
  • · npm run release:*
  • · git
Preconditions
  • · on main branch
  • · working directory clean
  • · npm scripts defined (release, release:dry, release:patch, etc)
Failure modes
  • · npm run release:dry fails to detect version
  • · user cancels after dry run
  • · git push fails (no perms)
Trust signals
  • · Dry-run preview before commit
  • · explicit user confirmation step
  • · four bump strategy options (auto/patch/minor/major)