Skip to content

Commit

Permalink
fix: use build version format instead of prerelease, #14
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Aug 14, 2019
1 parent 626dbbc commit d33208f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-publish/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async function patchWork(originalDirOfPackage, targetDir, registryOrg) {
// was doing nothing (?)
// await copyAndPatchDirectory("../source", "../node_modules/react-dom/", "../target");

originalReactDOMPackageJSON.version = `${originalReactDOMPackageJSON.version}-${reactHotLoaderPackageJSON.version}`;
originalReactDOMPackageJSON.version = `${originalReactDOMPackageJSON.version}+${reactHotLoaderPackageJSON.version}`;
basePackageJSON.name = basePackageJSON.name.replace(
"REGISTRY_ORG_PLACEHOLDER",
registryOrg
Expand Down

0 comments on commit d33208f

Please sign in to comment.