|
|
|
|
@ -8,7 +8,7 @@ param(
|
|
|
|
|
|
|
|
|
|
npm install
|
|
|
|
|
|
|
|
|
|
$NextVersion = $(node get-version.js) + '-preview' + (Get-Date).tostring(“yyyyMMdd”)
|
|
|
|
|
$NextVersion = $(node get-version.js) + '-preview' + (Get-Date).tostring("yyyyMMdd")
|
|
|
|
|
$rootFolder = (Get-Item -Path "./" -Verbose).FullName
|
|
|
|
|
|
|
|
|
|
if(-Not $Version) {
|
|
|
|
|
@ -20,7 +20,7 @@ $Registry = "http://localhost:4873";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$commands = (
|
|
|
|
|
"npm-cli-login -u $User -p $Pass -e $Email -r $Registry"
|
|
|
|
|
"npm-cli-login -u $User -p $Pass -e $Email -r $Registry",
|
|
|
|
|
"cd ng-packs\scripts",
|
|
|
|
|
"npm install",
|
|
|
|
|
"npm run publish-packages -- --nextVersion $Version --preview",
|
|
|
|
|
|