Browse Source
Merge pull request #11231 from abpframework/fix/nightly-publish
Fixed the problems in nightly publish script
pull/11251/head
Bunyamin Coskuner
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
6 deletions
-
npm/preview-publish.ps1
|
|
|
@ -1,12 +1,9 @@ |
|
|
|
param( |
|
|
|
[string]$Version, |
|
|
|
[string]$User, |
|
|
|
[string]$Pass, |
|
|
|
[string]$Email, |
|
|
|
[string]$Registry |
|
|
|
) |
|
|
|
|
|
|
|
npm install |
|
|
|
yarn install |
|
|
|
|
|
|
|
$NextVersion = $(node publish-utils.js --nextVersion) |
|
|
|
$RootFolder = (Get-Item -Path "./" -Verbose).FullName |
|
|
|
@ -21,8 +18,8 @@ exit |
|
|
|
|
|
|
|
$commands = ( |
|
|
|
"cd ng-packs\scripts", |
|
|
|
"npm install", |
|
|
|
"npm run publish-packages -- --nextVersion $Version --preview --registry $Registry", |
|
|
|
"yarn", |
|
|
|
"npm run publish-packages -- --nextVersion $Version --preview --registry $Registry --skipVersionValidation", |
|
|
|
"cd ../../", |
|
|
|
"npm run lerna -- version $Version --yes --no-commit-hooks --skip-git --force-publish", |
|
|
|
"npm run replace-with-tilde", |
|
|
|
|