Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ describe('execute', () => {
' >> v1',
' >> v1.2.3',
' >> 1.2',
'> version: v1.2.4',
'[command]rm -rdf <Build Directory> <Push Directory>',
'::group::Fetching...',
'[command]git init \'.\'',
Expand Down
4 changes: 3 additions & 1 deletion src/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export const getContextArgs = async(helper: GitHelper, tagName: string | undefin
throw new Error('<tag> is required.');
}

return {...config, tagName: config.inputs.TEST_TAG_PREFIX + await helper.getNewPatchVersion(dir), branch};
const version = await helper.getNewPatchVersion(dir);
(new Logger()).info('version: %s', version);
return {...config, tagName: config.inputs.TEST_TAG_PREFIX + version, branch};
}

return {...config, tagName, branch};
Expand Down