--- name: semantic-release description: Automate versioning and release notes from conventional commits argument-hint: "[--dry-run] [--branch=main]" tags: [release, versioning, semantic, cicd] user-invocable: true --- # Semantic Release Automate version bumps and changelog generation from conventional commits. ## What To Do 1. **For Node.js projects**: ```bash npm install --save-dev semantic-release @semantic-release/changelog @semantic-release/git ``` 2. **For .NET** (GitVersion): ```bash dotnet tool install -g GitVersion.Tool dotnet-gitversion /showvariable SemVer ``` 3. **CI Integration**: ```yaml - script: npx semantic-release --dry-run displayName: "Preview Release" ``` ## Arguments - `--dry-run`: Preview without publishing - `--branch=`: Release branch (default: main)