Publish icon indicating copy to clipboard operation
Publish copied to clipboard

Switch default branch from 'master' to 'main'

Open adamfootdev opened this issue 3 years ago • 1 comments

In line with Xcode and GitHub, I've updated the default branch to use 'main' instead of 'master' for git.

adamfootdev avatar Feb 21 '22 18:02 adamfootdev

@adamfootdev As much as I'd love to change the default branch to main, this particular change that you're proposing is quite problematic, since it'll break all publishing workflows for users who haven't specified a branch manually (which I suspect is the vast majority of users). Instead, I think we should turn that branch argument into an optional, and detect whether to use main or master dynamically, to avoid breaking backward compatibility. Let me know if that's something you'd be interested in updating this PR to do, or if you'd like me to work on it.

JohnSundell avatar Apr 20 '22 10:04 JohnSundell