Fixes #16 Add update specific omit inputs

This commit is contained in:
Nick Cipollo
2020-05-26 13:33:20 -04:00
parent 05b0499270
commit 6f236bd2ff
9 changed files with 226 additions and 85 deletions

View File

@@ -47,10 +47,10 @@ export class Action {
const response = await this.releases.update(
id,
this.inputs.tag,
this.inputs.body,
this.inputs.updatedReleaseBody,
this.inputs.commit,
this.inputs.draft,
this.inputs.name,
this.inputs.updatedReleaseName,
this.inputs.prerelease
)
@@ -83,13 +83,13 @@ export class Action {
private async createRelease(): Promise<ReposCreateReleaseResponse> {
const response = await this.releases.create(
this.inputs.tag,
this.inputs.body,
this.inputs.createdReleaseBody,
this.inputs.commit,
this.inputs.draft,
this.inputs.name,
this.inputs.createdReleaseName,
this.inputs.prerelease
)
return response.data
}
}
}