Skip to content

Commit

Permalink
Merge pull request #189 from kevcube/fix_version_type
Browse files Browse the repository at this point in the history
Fix broken version-type rc
  • Loading branch information
phips28 authored Oct 26, 2022
2 parents 3efc8c1 + 51c1769 commit a3bf9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const pkg = getPackageJson();
console.log("Couldn't find any commits in this event, incrementing patch version...");
}

const allowedTypes = ['major', 'minor', 'patch', 'rc']
const allowedTypes = ['major', 'minor', 'patch', 'prerelease']
if (process.env['INPUT_VERSION-TYPE'] && !allowedTypes.includes(process.env['INPUT_VERSION-TYPE'])) {
exitFailure('Invalid version type');
return;
Expand Down

0 comments on commit a3bf9e0

Please sign in to comment.