Merge pull request #109 from aliberkhsl/master

refactor : solve preid issue
This commit is contained in:
Phil 2022-06-28 14:05:50 +02:00 committed by GitHub
commit bbe7090a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,9 @@ const workspace = process.env.GITHUB_WORKSPACE;
}),
)
) {
preid = foundWord.split('-')[1];
if (foundWord != ''){
preid = foundWord.split('-')[1];
}
version = 'prerelease';
}