mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2026-04-17 20:39:53 +00:00
Allow empty tag prefix
This commit is contained in:
parent
118c3fd956
commit
8af45c2a76
4 changed files with 17 additions and 4 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -674,7 +674,7 @@ async function run() {
|
|||
const remoteExists = remote !== '';
|
||||
const remotePrefix = remoteExists ? 'origin/' : '';
|
||||
|
||||
const tagPrefix = core.getInput('tag_prefix', { required: true });
|
||||
const tagPrefix = core.getInput('tag_prefix') || '';
|
||||
const branch = `${remotePrefix}${core.getInput('branch', { required: true })}`;
|
||||
const majorPattern = core.getInput('major_pattern', { required: true });
|
||||
const minorPattern = core.getInput('minor_pattern', { required: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue