TheAngryByrd / MiniScaffold

F# Template for creating and publishing libraries targeting .NET 6.0 `net6.0` or console apps .NET 6.0 `net6.0`.
https://www.jimmybyrd.me/MiniScaffold/
MIT License
267 stars 31 forks source link

update default release branch name to `main`. Add `--releaseBranch` parameter to allow overriding this. #245

Closed enovales closed 3 years ago

enovales commented 3 years ago

Proposed Changes

The default branch name for new GitHub repositories is now main. This diff changes the default release branch name for the scaffold to main, to align with that, but also adds a --releaseBranch configuration switch, to allow overriding that during initial scaffold setup (for example, if you're bootstrapping the scaffold into an existing repository).

Types of changes

What types of changes does your code introduce to MiniScaffold? Put an x in the boxes that apply

Checklist

Further comments

Build dependencies were changed to target F# 5.0, so that string interpolation can be used. This isn't critical, so it can be backed out if necessary.