From d33208f02ebef963cdd3e91980b6d2a588588409 Mon Sep 17 00:00:00 2001 From: Anton Korzunov Date: Thu, 15 Aug 2019 08:45:22 +1000 Subject: [PATCH] fix: use build version format instead of prerelease, #14 --- auto-publish/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-publish/utils.js b/auto-publish/utils.js index ec8ed1c..c4b5302 100644 --- a/auto-publish/utils.js +++ b/auto-publish/utils.js @@ -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