diff --git a/npm/publish-mvc.ps1 b/npm/publish-mvc.ps1 index 20e53d3fcc..ee12fc67c3 100644 --- a/npm/publish-mvc.ps1 +++ b/npm/publish-mvc.ps1 @@ -18,9 +18,9 @@ if (-Not $Registry) { $PacksPublishCommand = "npm run lerna -- exec 'npm publish --registry $Registry'" -$IsPrerelase = $(node publish-utils.js --prerelease --customVersion $Version) -eq "true"; +$IsPrerelease = $(node publish-utils.js --prerelease --customVersion $Version) -eq "true"; -if ($IsPrerelase) { +if ($IsPrerelease) { $PacksPublishCommand = $PacksPublishCommand.Substring(0, $PacksPublishCommand.Length - 1) + " --tag next'" } diff --git a/npm/publish-ng.ps1 b/npm/publish-ng.ps1 index 5d39f5ba53..0e5199ed6b 100644 --- a/npm/publish-ng.ps1 +++ b/npm/publish-ng.ps1 @@ -20,9 +20,9 @@ $NgPacksPublishCommand = "npm run publish-packages -- --nextVersion $Version --s $UpdateGulpCommand = "yarn update-gulp --registry $Registry" $UpdateNgPacksCommand = "yarn update ./ng-packs abp --registry $Registry" -$IsPrerelase = $(node publish-utils.js --prerelease --customVersion $Version) -eq "true"; +$IsPrerelease = $(node publish-utils.js --prerelease --customVersion $Version) -eq "true"; -if ($IsPrerelase) { +if ($IsPrerelease) { $UpdateGulpCommand += " --prerelease" $UpdateNgPacksCommand += " --prerelease" }