chore: fix tag_version type
This commit is contained in:
parent
ddd6a2c8cd
commit
a3566ee548
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
const semverRegex = /chore: Release (v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z-.]+)?)/;
|
||||
const match = commitMessage.match(semverRegex);
|
||||
if (match) {
|
||||
fs.appendFileSync(process.env.GITHUB_ENV, `tag_version=${match[1]}\n`);
|
||||
fs.appendFileSync(process.env.GITHUB_ENV, `tag_version=true\n`);
|
||||
} else {
|
||||
console.log("No SemVer found in commit body.");
|
||||
process.exit(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue