Ability to update existing release body (#36)

* Ability to update existing release body

* Updated lib, fixed typo in workflow error message
This commit is contained in:
bomb-on authored and Doug Tangren committed 2020-01-04 01:13:45 -05:00
1 parent 7a7960d4c7
commit 62eba970e0
4 files changed
+75 -5

No files matched your search

+2 -2
View File
@@ -31,9 +31,9 @@ async function run() {
});
let rel = await release(config, new GitHubReleaser(gh));
if (config.input_files) {
const files = paths(config.input_files)
const files = paths(config.input_files);
if (files.length == 0) {
console.warn(`🤔 ${config.input_files} not include valid file.`)
console.warn(`🤔 ${config.input_files} not include valid file.`);
}
files.forEach(async path => {
await upload(gh, rel.upload_url, path);