Skip to content

[ISSUE]: UpdateAssemblyInfo (commandline) does not work #4832

@neslekkim

Description

@neslekkim

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

GitVersion.Portable

GitVersion version

6.6.0 - uppgraded from 5.6.6

Operating system

Windows

What are you seeing?

We had to upgrade gitversion since it stopped working after moving bitbucket workspace (probably other reason for that exact fault though, accesstoken or something with teamcity.

But, running this command on the commanline now:
gitversion.exe /UpdateAssemblyInfo AssemblyInfoVersion.cs

Does absolutely NOT update AssemblyInfoVersion.cs in our repisotory, those files are not touched at all, but it updates AssemblyInfo.cs instead, which gives us all kinds of trouble.
How can we get that working correctly, this worked fine in 5.6.6?

What is expected?

that the command:
gitversion.exe /UpdateAssemblyInfo AssemblyInfoVersion.cs

ONLY Updated

Steps to Reproduce

.

RepositoryFixture Test

No response

Output log or link to your CI build (if appropriate).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions