Skip to content

Recommend correct branch for repositories with non-master defaults? #184

@tmcw

Description

@tmcw

Working in a repository in which gh-pages is the main / only branch, the recommended publishing step:

git push --follow-tags origin master; npm publish

Will always fail, because master is not a valid branch. Could standard-version check for the main branch and recommend it?

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