You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Tools: Allow specifying "to" commit option in git-changelog
This commit is contained in:
@ -209,10 +209,11 @@ async function main() {
|
||||
if (!argv._.length) throw new Error('Tag name must be specified. Provide the tag of the new version and git-changelog will walk backward to find the changes to the previous relevant tag.');
|
||||
|
||||
const fromTagName = argv._[0];
|
||||
let toTagName = argv._.length >= 2 ? argv._[1] : '';
|
||||
|
||||
const platform = platformFromTag(fromTagName);
|
||||
|
||||
const toTagName = await findFirstRelevantTag(fromTagName);
|
||||
if (!toTagName) toTagName = await findFirstRelevantTag(fromTagName);
|
||||
|
||||
const logsSinceTags = await gitLog(toTagName);
|
||||
|
||||
|
Reference in New Issue
Block a user