Skip to content

Commit a1afa11

Browse files
authored
Correctly parse create_annotated_tag (mathieudutour#137)
1 parent 3f9dffd commit a1afa11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/action.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export default async function main() {
2525
const releaseBranches = core.getInput('release_branches');
2626
const preReleaseBranches = core.getInput('pre_release_branches');
2727
const appendToPreReleaseTag = core.getInput('append_to_pre_release_tag');
28-
const createAnnotatedTag = !!core.getInput('create_annotated_tag');
28+
const createAnnotatedTag = /true/i.test(
29+
core.getInput('create_annotated_tag')
30+
);
2931
const dryRun = core.getInput('dry_run');
3032
const customReleaseRules = core.getInput('custom_release_rules');
3133
const shouldFetchAllTags = core.getInput('fetch_all_tags');

0 commit comments

Comments
 (0)