mr-version/Calculate Versions

Calculate semantic versions for projects using Mister.Version

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
projectsGlob pattern or list of project files to version (e.g., "src/**/*.csproj" or comma-separated paths)no**/*.csproj
repository-pathPath to the Git repository rootno.
prerelease-typePrerelease type for main/dev branches (none, alpha, beta, rc)nonone
tag-prefixPrefix for version tagsnov
force-versionForce a specific version for all projectsno
dependenciesComma-separated list of dependency paths to track for changesno
output-formatOutput format (json, yaml, text)nojson
fail-on-no-changesFail the action if no projects have version changesnofalse
update-project-propertiesUpdate version properties in project filesnofalse
write-mrversion-propsWrite MrVersion.props file in each project directorynofalse
config-filePath to mr-version.yml configuration file (auto-detected if not specified)no
dry-runRun in dry-run mode (show what would be done without making changes)nofalse
output-version-informationDisplay the version information output as part of the job summary.nofalse
include-test-projectsInclude test projects in the version calculation resultsnofalse
namedescription
projectsJSON array of project version information
changed-projectsJSON array of projects with version changes
has-changesWhether any projects have version changes
summaryHuman-readable summary of version calculations
version-mapJSON map of project names/paths to their calculated versions
versionThe calculated version of the first changed project (if any)
majorMajor version number of the first changed project
minorMinor version number of the first changed project
patchPatch version number of the first changed project
prereleasePrerelease version string of the first changed project (if any)
has-validation-errorsWhether any projects have validation errors
has-validation-warningsWhether any projects have validation warnings
validation-errors-countNumber of projects with validation errors
validation-warnings-countNumber of projects with validation warnings