version: "1.0.0" 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
- For Node.js projects:
``bash npm install --save-dev semantic-release @semantic-release/changelog @semantic-release/git ``
- For .NET (GitVersion):
``bash dotnet tool install -g GitVersion.Tool dotnet-gitversion /showvariable SemVer ``
- CI Integration:
```yaml
- script: npx semantic-release --dry-run
displayName: "Preview Release" ```
Arguments
--dry-run: Preview without publishing--branch=<name>: Release branch (default: main)