Generate a multi-repo markdown log of changes between two tags. See package configuration for details.
import { lernaChangelog } from '@zendeskgarden/scripts';
const args: {
from?: string;
to?: string;
token?: string;
path?: string;
} = {
/* optional overrides */
};
(async () => {
const markdown = await lernaChangelog(args);
console.log(markdown);
})();
from
optional tag or SHA; defaults to the current tag.to
optional tag or SHA; defaults to the previous tag.token
optional GitHub personal access token; defaults to the value provided bygithubToken
.path
optional path to a git directory; defaults to the current directory.
garden lerna-changelog \
[--from <from-tag>] \
[--to <to-tag>] \
[--token <token>] \
[path]