Closed tivac closed 6 years ago
I would accept a pull request to override the default with a command line switch.
What would be a good way to do this? Maybe --tag "${name}@${version}"
and substitute the ${...}
placeholders with properties from the package.json
?
Pulling values from package.json
is clever, I hadn't considered that but I really like it! I'll see about putting a PR together for this.
Right now
changes
expects all tags to be in the formatv<semver>
, which works for some repos. I've been usinglerna
recently to manage a monorepo and would like to usechanges
with it to create per-package changelists.It's easy enough to run changes in each package with
lerna exec
, but since lerna's tagging uses the format<package-name>@<semver>
thegit log
call withinchanges
fails with the following error:which makes sense,
v5.1.5
isn't the tag.modular-css-core@5.1.5
is.