mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
886 B
46 lines
886 B
param(
|
|
[string]$branch,
|
|
[string]$newVersion,
|
|
[string]$isRcVersion
|
|
)
|
|
|
|
. ..\nupkg\common.ps1
|
|
|
|
Start-Transcript -Append _run_all_log.txt
|
|
|
|
if (!$branch)
|
|
{
|
|
$branch = Read-Host "Enter the branch name"
|
|
}
|
|
|
|
if (!$newVersion)
|
|
{
|
|
$currentVersion = Get-Current-Version
|
|
$newVersion = Read-Host "Current version is '$currentVersion'. Enter the new version (empty for no change) "
|
|
if($newVersion -eq "")
|
|
{
|
|
$newVersion = $currentVersion
|
|
}
|
|
}
|
|
|
|
if ($isRcVersion -eq "")
|
|
{
|
|
$isRcVersion = Read-Host "Is this a RC/Preview version? (y/n)"
|
|
}
|
|
|
|
$publishGithubReleaseParams = @{
|
|
branchName=$branch
|
|
isRcVersion=$isRcVersion
|
|
}
|
|
|
|
|
|
./1-fetch-and-build.ps1 $branch $newVersion
|
|
./2-nuget-pack.ps1
|
|
./3-nuget-push.ps1
|
|
./4-npm-publish-mvc.ps1
|
|
./5-npm-publish-angular.ps1
|
|
./6-git-commit.ps1
|
|
./7-publish-github-release.ps1 @publishGithubReleaseParams
|
|
./8-download-release-zip.ps1
|
|
|
|
Stop-Transcript |