GitVersion on Homebrew is out of date and we should implement a process to ensure that it's kept up to date.
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.
Having an up to date GitVersion formula in Homebrew will make it easier to use GitVersion on (most importantly) macOS and Linux.
homebrew-core repository with the create-pull-request action. This will ensure that the GitVersion formula in Homebrew is kept up to date.The current status is that .NET Core is impossible to build from source unless you have access to Microsoft's internal NuGet feeds. So in practice, you need to be hired by Microsoft in order to build .NET Core. 馃う See dotnet/sdk#11795 for details.
With Homebrew/homebrew-core#60929 merged, we can finally go ahead and do this. 馃帀
@asbjornu great job on that PR. I followed the progress there, that was an amazing work
If I can help with anything let me know
Do you think we can automate the homebrew PR creation as part of the release flow? ( Maybe using the github cmdline tool gh )
@arturcic Yup! Check out brew bump-formula-pr, https://github.com/dawidd6/action-homebrew-bump-formula and https://github.com/mislav/bump-homebrew-formula-action.
Thanks for the input, @MikeMcQuaid! I've started work on doing an initial bump of the GitVersion formula that now depends on dotnet instead of mono. I'll let you know once the PR is created.
@arturcic Yup! Check out
brew bump-formula-pr, https://github.com/dawidd6/action-homebrew-bump-formula and https://github.com/mislav/bump-homebrew-formula-action.
Thank you, then I think we can automate that
Here it is: Homebrew/homebrew-core#62817.
And now Homebrew/homebrew-core#62817 is merged, so I'm closing this. The brew bump-formula-pr automation can be tracked in another issue, I think.
The
brew bump-formula-prautomation can be tracked in another issue, I think.
Agree.
Most helpful comment
Agree.