Skip to content

ERR Value cannot be null. (Parameter 'input') when no versioning tag present #116

@LaoArchAngel

Description

@LaoArchAngel

Our project files do not have Version, VersionPrefix, VersionSuffix, or PackageVersion tags on them. Instead our CI pipeline was using this
tool (v2.4.1) to just set the specific version from gitversion.

The new version currently assumes that if our desired tag is Version, but the Version property is not set, to parse the current version from VersionPrefix VersionCli L134. However, it doesn't try to check if the current version is null before trying to do a RegEx match SemVer L55.

Would it be possible for this tool to set the appropriate version tag even if no existing tag is found? Not sure if this is a design decision or not.

EDIT: This is probably only relevant in the case when the args.VersionBump is VersionBump.Specific, as all other cases you might expect an existing version to be there.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions