semantic-release

Automate versioning and release notes from conventional commits

SKILL.md

GitHub

Semantic Release

Automate version bumps and changelog generation from conventional commits.

What To Do

  1. For Node.js projects:

    npm install --save-dev semantic-release @semantic-release/changelog @semantic-release/git
    
  2. For .NET (GitVersion):

    dotnet tool install -g GitVersion.Tool
    dotnet-gitversion /showvariable SemVer
    
  3. CI Integration:

    - script: npx semantic-release --dry-run
      displayName: "Preview Release"
    

Arguments

  • --dry-run: Preview without publishing
  • --branch=<name>: Release branch (default: main)