Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #75 from Bilge/patch-1
Browse files Browse the repository at this point in the history
Changed release name to be optional field
  • Loading branch information
Mike Coutermarsh authored Jun 16, 2020
2 parents c9ba696 + 80985fc commit d28992e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/create-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function run() {

// This removes the 'refs/tags' portion of the string, i.e. from 'refs/tags/v1.10.15' to 'v1.10.15'
const tag = tagName.replace('refs/tags/', '');
const releaseName = core.getInput('release_name', { required: true }).replace('refs/tags/', '');
const releaseName = core.getInput('release_name', { required: false }).replace('refs/tags/', '');
const body = core.getInput('body', { required: false });
const draft = core.getInput('draft', { required: false }) === 'true';
const prerelease = core.getInput('prerelease', { required: false }) === 'true';
Expand Down

0 comments on commit d28992e

Please sign in to comment.