-
Notifications
You must be signed in to change notification settings - Fork 664
Closed
Labels
Description
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
- 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.
- Once the .NET Core formula is accepted, we should submit an upgraded GitVersion formula dependent on the .NET Core formula.
- 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-corerepository with the create-pull-request action. This will ensure that the GitVersion formula in Homebrew is kept up to date.