Skip to content

[Improvement] Update Homebrew package #2374

@asbjornu

Description

@asbjornu

GitVersion on Homebrew is out of date and we should implement a process to ensure that it's kept up to date.

Detailed Description

The current version of GitVersion on Homebrew requires Mono, since .NET Core is not yet available in Homebrew. .NET Core was unsuccessfully attempted to be added in Homebrew/homebrew-core#3691. As a self-contained executable is not permitted (see Homebrew/homebrew-core#53092), someone (most likely one of us) needs to submit a .NET Core formula first and then submit a new version of GitVersion dependent on the .NET Core formula. See dotnet/sdk#4600 for more information.

Context

Having an up to date GitVersion formula in Homebrew will make it easier to use GitVersion on (most importantly) macOS and Linux.

Possible Implementation

  1. We should take a look at the rejected formula in WIP: Initial dotnet formula Homebrew/homebrew-core#3691 and tweak it to match the latest version of .NET Core.
  2. Once the .NET Core formula is accepted, we should submit an upgraded GitVersion formula dependent on the .NET Core formula.
  3. Every time we create a release in GitVersion, we can bump the version and SHA in the GitVersion formula and submit it as a pull request towards the homebrew-core repository with the create-pull-request action. This will ensure that the GitVersion formula in Homebrew is kept up to date.

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