Tools: Fixed git-changelog

pull/5933/head
Laurent Cozic 2021-12-29 10:48:34 +01:00
parent a6ff60aa99
commit a595b8f250
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ enum Platform {
Server = 'server',
Cli = 'cli',
PluginGenerator = 'plugin-generator',
PluginRepoCli = 'plugin-repo-cli',
}
enum PublishFormat {
@ -84,6 +85,7 @@ function platformFromTag(tagName: string): Platform {
if (tagName.indexOf('cli') === 0) return Platform.Cli;
if (tagName.indexOf('server') === 0) return Platform.Server;
if (tagName.indexOf('plugin-generator') === 0) return Platform.PluginGenerator;
if (tagName.indexOf('plugin-repo-cli') === 0) return Platform.PluginRepoCli;
throw new Error(`Could not determine platform from tag: "${tagName}"`);
}