Change back to debug

This commit is contained in:
Nick Cipollo
2020-05-25 17:35:27 -04:00
parent 8954a2e764
commit 05b0499270

View File

@@ -34,6 +34,8 @@ class CoreInputs {
return [];
}
get body() {
if (CoreInputs.omitBody())
return undefined;
const body = core.getInput('body');
if (body) {
return body;
@@ -44,6 +46,9 @@ class CoreInputs {
}
return '';
}
static omitBody() {
return core.getInput('omitBody') == 'true';
}
get commit() {
return core.getInput('commit');
}
@@ -52,12 +57,17 @@ class CoreInputs {
return draft == 'true';
}
get name() {
if (CoreInputs.omitName())
return undefined;
const name = core.getInput('name');
if (name) {
return name;
}
return this.tag;
}
static omitName() {
return core.getInput('omitName') == 'true';
}
get prerelease() {
const preRelease = core.getInput('prerelease');
return preRelease == 'true';