Support $tag substitution in asset names

This commit is contained in:
Alex Jurkiewicz
2020-04-17 12:26:19 +10:00
committed by Sven-Hendrik Haase
parent c571424387
commit 223b39fc7a
3 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ async function run() {
}
}
else {
const asset_name = core.getInput('asset_name', { required: true });
const asset_name = core.getInput('asset_name', { required: true }).replace(/\$tag/g, tag);
await upload_to_release(release, file, asset_name, tag, overwrite, octokit, context);
}
} catch (error) {