Skip to content

Montonically increasing AssemblyFileVersion to satisfy the MSI  #1366

@ruhullahshah

Description

@ruhullahshah

We use GitFlow as our branching model and GitVersion 3 for versioning our Assemblies.

The versioning scheme in use is:
assembly-file-versioning-scheme: MajorMinorPatchTag.

GitVersion resets the Tag in beta releases at times and MSI requirement of strictly increasing FileVersion is violated.

Is there a solution existing for this issue? In case it is not, how about reading the Tag from environment if presented with a special syntax such as {$TAG}? We can then use the build number which is strictly increasing as the Tag

Issue #1157 has a similar requirement and so does Issue #648

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions