cyberneticlibrary

Release with pre-flight checks

releasecommandsetup L38
edimuj/vexscan
What it does

Create and tag a release with changelog, assets, and version bump

Best for

Automating release process to ensure consistent versioning and changelog

Inputs
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
  • · [object Object]
Requires
  • · git
  • · gh CLI
  • · version file (package.json, VERSION, etc.)
Preconditions

Commits ready to release; version file present

Failure modes
  • · Tag already exists → abort
  • · Changelog empty → use commits as fallback
  • · Build artifacts not ready → skip asset upload
Trust signals
  • · Validates semantic versioning
  • · Confirms changelog before creating tag