mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-06 05:58:47 +02:00
add transmission-openvpn (#23)
This commit is contained in:
@@ -24,11 +24,11 @@ async function run(opts: { patch: boolean })
|
||||
let updated = false;
|
||||
for (const addon of dirs)
|
||||
{
|
||||
if(addon === "tmp")
|
||||
if (addon === "tmp")
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (!first)
|
||||
{
|
||||
console.log(chalk.gray("============================================================="));
|
||||
@@ -56,6 +56,7 @@ async function run(opts: { patch: boolean })
|
||||
}
|
||||
|
||||
const versionRegex = config.maintenance.version_regex ? new RegExp(config.maintenance.version_regex) : null;
|
||||
const releaseRegex = config.maintenance.release_regex ? new RegExp(config.maintenance.release_regex) : null;
|
||||
|
||||
const addonPath = path.join(root, addon);
|
||||
const changelogPath = path.join(addonPath, "CHANGELOG.md");
|
||||
@@ -83,6 +84,15 @@ async function run(opts: { patch: boolean })
|
||||
}
|
||||
}
|
||||
|
||||
if (releaseRegex)
|
||||
{
|
||||
const r = releaseRegex.exec(releaseInfo.tag_name);
|
||||
if (r && r.length > 1)
|
||||
{
|
||||
releaseInfo.tag_name = r[1];
|
||||
}
|
||||
}
|
||||
|
||||
if (tag == releaseInfo.tag_name)
|
||||
{
|
||||
console.log(chalk.greenBright(`base image ${image}:${chalk.magenta(coloredTag)} is up-to-date`))
|
||||
|
||||
Reference in New Issue
Block a user