We are going through all of the Node.js repositories to rename the
primary branch to main.
This PR updates all of the references to the default branch that
need to be updated at the same time that we rename the branch. The
Launchpad side is, for now, unchanged as are references to the
master branch of the core nodejs/node repository.
@mhdawson and I spent some time looking at what would be required to do the rename and we think it's possible to do the rename on the GitHub side first while leaving Launchpad untouched -- i.e. we rename master->main here but still push to master in Launchpad.
Supersedes https://github.com/nodejs/snap/pull/17.
We are going through all of the Node.js repositories to rename the primary branch to main.
This PR updates all of the references to the default branch that need to be updated at the same time that we rename the branch. The Launchpad side is, for now, unchanged as are references to the master branch of the core nodejs/node repository.
Refs: https://github.com/nodejs/node/issues/33864
@mhdawson and I spent some time looking at what would be required to do the rename and we think it's possible to do the rename on the GitHub side first while leaving Launchpad untouched -- i.e. we rename
master
->main
here but still push tomaster
in Launchpad.