Skip to content

[Bug] Typo in GitVersion.MsBuild.targets #2582

Closed

Description

@MarkusHorstmann

<DefineConstants Condition=" '$(GitVersion_PreReleaseLabelWithDash)' != '' ">GitVersion_PreReleaseLabelWithDash=$(GitVersion_PreReleaseLabeWithDashl);$(DefineConstants)</DefineConstants>
should likely be
<DefineConstants Condition=" '$(GitVersion_PreReleaseLabelWithDash)' != '' ">GitVersion_PreReleaseLabelWithDash=$(GitVersion_PreReleaseLabelWithDash);$(DefineConstants)</DefineConstants>

Noticed doing other changes, but don't have a way to test this.

Expected Behavior

Unknown

Actual Behavior

Unknown

Possible Fix

See above.

Steps to Reproduce

Unknown

Context

Code inspection

Your Environment

Activity

  1. asbjornu commented on Feb 5, 2021

    @asbjornu
    Member

    GitVersion_PreReleaseLabeWithDashl does not look right indeed. Could you please submit a PR that fixes this? 🙏🏼

  2. MarkusHorstmann commented on Feb 5, 2021

    @MarkusHorstmann
    ContributorAuthor

    Happy to include it in my current PR, or do you prefer separate PRs for different fixes?

  3. added a commit that references this issue on Feb 5, 2021
  4. asbjornu commented on Feb 5, 2021

    @asbjornu
    Member

    Since #2581 does not deal with the MSBuild task directly, fixing the typo in a separate PR would be preferable. 🙏🏼

  5. MarkusHorstmann commented on Feb 5, 2021

    @MarkusHorstmann
    ContributorAuthor

    Ok, I'll revert it there and kick off a separate PR.

  6. added a commit that references this issue on Feb 5, 2021
  7. added this to the 5.6.5 milestone on Feb 5, 2021
  8. added a commit that references this issue on Feb 5, 2021
  9. added a commit that references this issue on Feb 6, 2021
  10. added 3 commits that reference this issue on Feb 7, 2021
  11. github-actions commented on Feb 7, 2021

    @github-actions

    🎉 This issue has been resolved in version 5.6.5 🎉
    The release is available on:

    Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions