wp-cli / package-command

Lists, installs, and removes WP-CLI packages.
MIT License
17 stars 20 forks source link

Fetch default branch for GitHub packages #146

Closed schlessera closed 2 years ago

schlessera commented 2 years ago

This PR adds logic to the wp package install command so that it tries to retrieve the default branch of a GitHub repository if no version was provided, instead of using the hard-coded master branch as a default.