Skip to content

Commit

Permalink
chore: fix error when set version
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Jul 9, 2024
1 parent 02c0512 commit fd1bfb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/scripts/set-prerelease-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ function writePrereleaseVersion(nextBump, preReleaseName, nextVersionStr, buildN
fs.writeFileSync(pkgJsonPath, jsonFile)
});

writeVersionOfHarmony(nextVersion);
if (!preReleaseName) {
writeVersionOfHarmony(nextVersion);
}
}

module.exports = writePrereleaseVersion;

0 comments on commit fd1bfb2

Please sign in to comment.