nrkno/semrel
Conventional-commit linter, semantic versioner, GitHub Release creator, PR notifier, and release notes generator — in one self-owned Go binary.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| subcommand | Subcommand to run: lint, release, notify, or notes. | yes | — |
| token | GitHub token used for API calls and pushing tags. | no | ${{ github.token }} |
| dry-run | Skip tag creation, push, and release creation. Prints what would happen. | no | false |
| working-directory | Path to the git repository root. Defaults to workspace root. | no | . |
Outputs
| name | description |
|---|---|
| released | 'true' if a new release was published, 'false' otherwise. |
| version | The released version, e.g. '1.2.3'. |
| tag | The released git tag, e.g. 'v1.2.3'. |
| bump | Version bump type: major, minor, patch, or none. |
| notes | Rendered markdown release notes. |
| sha | HEAD commit SHA at time of release. |
| major_version | Major version component (integer). |
| minor_version | Minor version component (integer). |
| patch_version | Patch version component (integer). |
| major | Major version component (integer). Alias for major_version. |
| minor | Minor version component (integer). Alias for minor_version. |
| patch | Patch version component (integer). Alias for patch_version. |