From 2ce5e14bfd4bf2efae478609f20ebc537484b1e8 Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Tue, 14 Dec 2021 17:45:07 +0300 Subject: [PATCH] update deploy scripts --- deploy/1-fetch-and-build.ps1 | 2 +- deploy/2-nuget-pack.ps1 | 2 +- deploy/3-nuget-push.ps1 | 2 +- deploy/4-npm-publish-mvc.ps1 | 2 +- deploy/5-npm-publish-angular.ps1 | 2 +- deploy/6-git-commit.ps1 | 2 +- deploy/8-download-release-zip.ps1 | 3 +-- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/deploy/1-fetch-and-build.ps1 b/deploy/1-fetch-and-build.ps1 index 56944caf09..f616c0153a 100644 --- a/deploy/1-fetch-and-build.ps1 +++ b/deploy/1-fetch-and-build.ps1 @@ -46,5 +46,5 @@ Write-Info "Building ABP repository" cd build .\build-all-release.ps1 -Write-Info "Building ABP repository completed" +Write-Info "Completed: Building ABP repository" cd ..\deploy #always return to the deploy directory \ No newline at end of file diff --git a/deploy/2-nuget-pack.ps1 b/deploy/2-nuget-pack.ps1 index 4a7f4ec5dc..896377c2c3 100644 --- a/deploy/2-nuget-pack.ps1 +++ b/deploy/2-nuget-pack.ps1 @@ -6,5 +6,5 @@ cd ..\nupkg powershell -File pack.ps1 echo "`n-----=====[ CREATING NUGET PACKAGES COMPLETED ]=====-----`n" -Write-Info "Creating NuGet packages completed" +Write-Info "Completed: Creating NuGet packages" cd ..\deploy #always return to the deploy directory \ No newline at end of file diff --git a/deploy/3-nuget-push.ps1 b/deploy/3-nuget-push.ps1 index cc5f2456ea..b2911ed11a 100644 --- a/deploy/3-nuget-push.ps1 +++ b/deploy/3-nuget-push.ps1 @@ -26,6 +26,6 @@ echo "`n-----=====[ PUSHING PACKAGES TO NUGET ]=====-----`n" cd ..\nupkg powershell -File push_packages.ps1 $nugetApiKey echo "`n-----=====[ PUSHING PACKAGES TO NUGET COMPLETED ]=====-----`n" -Write-Info "Pushing packages to NuGet Completed" +Write-Info "Completed: Pushing packages to NuGet" cd ..\deploy #always return to the deploy directory \ No newline at end of file diff --git a/deploy/4-npm-publish-mvc.ps1 b/deploy/4-npm-publish-mvc.ps1 index e7fade4259..7e1c0be1be 100644 --- a/deploy/4-npm-publish-mvc.ps1 +++ b/deploy/4-npm-publish-mvc.ps1 @@ -34,6 +34,6 @@ Write-Info "Pushing MVC packages to NPM" echo "`n-----=====[ PUSHING MVC PACKS TO NPM ]=====-----`n" powershell -File publish-mvc.ps1 echo "`n-----=====[ PUSHING MVC PACKS TO NPM COMPLETED ]=====-----`n" -Write-Info "Pushing MVC packages to NPM completed" +Write-Info "Completed: Pushing MVC packages to NPM" cd ..\deploy #always return to the deploy directory \ No newline at end of file diff --git a/deploy/5-npm-publish-angular.ps1 b/deploy/5-npm-publish-angular.ps1 index 0b2ac031e5..cb2e0283f5 100644 --- a/deploy/5-npm-publish-angular.ps1 +++ b/deploy/5-npm-publish-angular.ps1 @@ -34,6 +34,6 @@ Write-Info "Pushing MVC packages to NPM" echo "`n-----=====[ PUSHING MVC PACKS TO NPM ]=====-----`n" powershell -File publish-ng.ps1 echo "`n-----=====[ PUSHING MVC PACKS TO NPM COMPLETED ]=====-----`n" -Write-Info "Pushing MVC packages to NPM completed" +Write-Info "Completed: Pushing MVC packages to NPM" cd ..\deploy #always return to the deploy directory diff --git a/deploy/6-git-commit.ps1 b/deploy/6-git-commit.ps1 index e944bcff1f..430f476b0c 100644 --- a/deploy/6-git-commit.ps1 +++ b/deploy/6-git-commit.ps1 @@ -9,6 +9,6 @@ git commit -m Update_NPM_Package_Versions git push echo "`n-----=====[ COMMITTING CHANGES COMPLETED ]=====-----`n" -Write-Info "Committing changes to GitHub completed" +Write-Info "Completed: Committing changes to GitHub" cd deploy #always return to the deploy directory \ No newline at end of file diff --git a/deploy/8-download-release-zip.ps1 b/deploy/8-download-release-zip.ps1 index 2508cb2d48..41de0ff6d7 100644 --- a/deploy/8-download-release-zip.ps1 +++ b/deploy/8-download-release-zip.ps1 @@ -29,6 +29,5 @@ echo "`nDownloading release file into Natro..." plink.exe -ssh jenkins@94.73.164.234 -pw $password -P 22 -batch "powershell -File c:\ci\scripts\download-latest-abp-release.ps1 ${version}" -Write-Info "Downloading release zip into Natro completed" -echo "`n---===[ COMPLETED ]===---" +Write-Info "Completed: Downloading release zip into Natro completed" #---------------------------------------------------------------------