jonaslagoni/Automated Version Bump for .NET libraries
Automated version bump for .NET libraries to follow Semantic Versioning.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| type | Which type of project are you bumping version for? This is important as .NET Core projects store versions in .csproj files, and .NET framework use AssemblyInfo.cs. Use either "csproj" or "assembly" | no | csproj |
| tag-prefix | Prefix that is used for the git tag | no | "" |
| minor-wording | Words list that trigger a minor version bump. Use "," to separate multiple words. | no | feat |
| major-wording | Words list that trigger a major version bump. Use "," to separate multiple words. | no | feat!,fix!,refactor! |
| patch-wording | Words list that trigger a patch version bump. Use "," to separate multiple words. | no | fix |
| release-candidate-wording | Words list that trigger a release candidate version bump. Use "," to separate multiple words. | no | next |
| skip-tag | Avoid to add a TAG to the version update commit | no | true |
| skip-commit | Avoid to add a commit after the version is bumped | no | false |
| skip-push | If true, skip pushing any commits or tags created after the version bump | no | false |
| path-to-file | Path to the csproj file where the version is located | yes | — |
| target-branch | A separate branch to perform the version bump on | no | "" |
| pre-release-id | Set a custom id for prerelease build | no | next |
| commit-message | Set a custom commit message for version bump commit. Use {{version}} as a placeholder for the new version. | no | ci: version bump to {{version}} |
| release-commit-message-regex | Set a custom commit message regex for release commits. Use {{version}} as a placeholder for the new version. Default | no | ci: version bump to {{version}} |
Outputs
| name | description |
|---|---|
| wasBumped | Boolean to check if the version of the library was bumped |
| newVersion | The new version of the library |
| oldVersion | The old version of the library |