Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow publish to use main instead of master #164

Open
Kayrah87 opened this issue Sep 26, 2023 · 1 comment
Open

Allow publish to use main instead of master #164

Kayrah87 opened this issue Sep 26, 2023 · 1 comment

Comments

@Kayrah87
Copy link

looking at the publish command, it looks like the branch 'master' is hard coded.
The init sets up my trunk branch as 'main' instead of 'master'.

Is there any way or could there be any way to specify a name for the primary branch in the publish command?

@Jeroen-G
Copy link
Owner

I think you mean this?
https://github.com/Jeroen-G/laravel-packager/blob/master/src/Commands/PublishPackage.php#L78

If so, it might be even the case that it works without any of them: git push -u origin

Could you check that this would work?

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

No branches or pull requests

2 participants