Skip to content

Bug in AssemblyInfo FileUpdate #257

@hbre

Description

@hbre

Patching of AssemblyInformationalVersion works just once, because
"InformationalVersion":"1.2.3-unstable.4+5.Branch.feature1.Sha.commitSha"
does not match Regex
\d+.\d+.\d+(.\d+|\*)?

Why not just Match
.RegexReplace(@"AssemblyInformationalVersion\(.*\)"

Would be nice if you could fix this?

File: AssemblyInfoFileUpdate.cs, Line 39
.RegexReplace(@"AssemblyInformationalVersion\(""\d+.\d+.\d+(.\d+|\*)?""\)", string.Format("AssemblyInformationalVersion(\"{0}\")", assemblyInfoVersion))

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