Skip to content

Support branches other than "master"#175

Open
idleberg wants to merge 2 commits intopulsar-edit:masterfrom
idleberg:feature/support-custom-branches
Open

Support branches other than "master"#175
idleberg wants to merge 2 commits intopulsar-edit:masterfrom
idleberg:feature/support-custom-branches

Conversation

@idleberg
Copy link
Contributor

GitHub has changed the default branch from master to main in October 2020, setting an example that has since been followed by its competitors. However, Atom/Pulsar packages are still stuck at using master. Publishing a package from a different branch will fail.

This PR addresses this twofold:

  1. the default branch is detected via git symbolic-ref
  2. any custom branch can be passed via the --branch flag

@idleberg idleberg changed the title Feature/support custom branches Support branches other than "master" Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant