regenerate js, log on tag miss for debugging

This commit is contained in:
softprops 2019-09-17 17:12:53 +09:00
parent 5f2e9fb50f
commit f3c225f2b8
3 changed files with 52 additions and 5 deletions

View file

@ -22,7 +22,7 @@ function run() {
throw new Error(`⚠️ GitHub Releases requires a tag`);
}
const gh = new github_2.GitHub(config.github_token);
let rel = yield github_1.release(config, gh);
let rel = yield github_1.release(config, new github_1.GitHubReleaseer(gh));
if (config.input_files) {
util_1.paths(config.input_files).forEach((path) => __awaiter(this, void 0, void 0, function* () {
yield github_1.upload(gh, rel.upload_url, path);