Change back to debug
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user