publish-to-git
publish-to-git copied to clipboard
Publish (also) as a branch
It would be great to be able to make all tags form a branch, e.g. release.
Besides making it easier to overview the tags, it would let a client run npm install https://git.example.com/project#release to get the latest version.
Projects may even want this branch to be called master (and have the source in e.g. develop) so that npm install https://git.example.com/project would install the latest release, according to the npm docs:
If neither #<commit-ish> or #semver:<semver> is specified, then master is used.
Can you propose example syntax? And maybe even submit a PR for it? :-)
Can you propose example syntax?
I guess just --branch <branchname> would be adequate?
And maybe even submit a PR for it? :-)
#9! :)