Skip to content

Commit d33208f

Browse files
committed
fix: use build version format instead of prerelease, #14
1 parent 626dbbc commit d33208f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto-publish/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ async function patchWork(originalDirOfPackage, targetDir, registryOrg) {
231231
// was doing nothing (?)
232232
// await copyAndPatchDirectory("../source", "../node_modules/react-dom/", "../target");
233233

234-
originalReactDOMPackageJSON.version = `${originalReactDOMPackageJSON.version}-${reactHotLoaderPackageJSON.version}`;
234+
originalReactDOMPackageJSON.version = `${originalReactDOMPackageJSON.version}+${reactHotLoaderPackageJSON.version}`;
235235
basePackageJSON.name = basePackageJSON.name.replace(
236236
"REGISTRY_ORG_PLACEHOLDER",
237237
registryOrg

0 commit comments

Comments
 (0)