Skip to content

FileVersion inconsistency between UpdateAssemblyInfo and UpdateVersionProperties #1241

Closed
@bording

Description

@bording

The new UpdateVersionProperties section in the 4.0 GitVersionTask.targets file is using a different value for FileVersion than the UpdateAssemblyInfo task.

UpdateAssemblyInfo is using AssemblySemFileVer.

UpdateVersionProperties is using $(GitVersion_MajorMinorPatch).$(GitVersion_CommitsSinceVersionSource) in both versions of the targets file.

To maintain consistency with previous behavior, I think UpdateVersionProperties should be changed to match UpdateAssemblyInfo.

I'd be happy to submit a PR if you agree that this should be changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions