Skip to content

add "main" as alternative default branch #1581

Closed
@TimoBechtel

Description

@TimoBechtel

New feature motivation

Lots of projects move from "master" as default branch to "main".

I, too, did change all default branches on GitHub to "main".
Changing this would have been a lot easier, if I wouldn't have to edit all the semantic-release configuration files.

Changing the config means, re-adding the default branches list, just to change the default branch to "main"
(correct me if there's a simpler solution).

New feature description

Add "main" to the list of branches in the default configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions