Browse Source

update deploy scripts

pull/10943/head 5.0.0
Alper Ebicoglu 4 years ago
parent
commit
2ce5e14bfd
  1. 2
      deploy/1-fetch-and-build.ps1
  2. 2
      deploy/2-nuget-pack.ps1
  3. 2
      deploy/3-nuget-push.ps1
  4. 2
      deploy/4-npm-publish-mvc.ps1
  5. 2
      deploy/5-npm-publish-angular.ps1
  6. 2
      deploy/6-git-commit.ps1
  7. 3
      deploy/8-download-release-zip.ps1

2
deploy/1-fetch-and-build.ps1

@ -46,5 +46,5 @@ Write-Info "Building ABP repository"
cd build cd build
.\build-all-release.ps1 .\build-all-release.ps1
Write-Info "Building ABP repository completed" Write-Info "Completed: Building ABP repository"
cd ..\deploy #always return to the deploy directory cd ..\deploy #always return to the deploy directory

2
deploy/2-nuget-pack.ps1

@ -6,5 +6,5 @@ cd ..\nupkg
powershell -File pack.ps1 powershell -File pack.ps1
echo "`n-----=====[ CREATING NUGET PACKAGES COMPLETED ]=====-----`n" 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 cd ..\deploy #always return to the deploy directory

2
deploy/3-nuget-push.ps1

@ -26,6 +26,6 @@ echo "`n-----=====[ PUSHING PACKAGES TO NUGET ]=====-----`n"
cd ..\nupkg cd ..\nupkg
powershell -File push_packages.ps1 $nugetApiKey powershell -File push_packages.ps1 $nugetApiKey
echo "`n-----=====[ PUSHING PACKAGES TO NUGET COMPLETED ]=====-----`n" 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 cd ..\deploy #always return to the deploy directory

2
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" echo "`n-----=====[ PUSHING MVC PACKS TO NPM ]=====-----`n"
powershell -File publish-mvc.ps1 powershell -File publish-mvc.ps1
echo "`n-----=====[ PUSHING MVC PACKS TO NPM COMPLETED ]=====-----`n" 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 cd ..\deploy #always return to the deploy directory

2
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" echo "`n-----=====[ PUSHING MVC PACKS TO NPM ]=====-----`n"
powershell -File publish-ng.ps1 powershell -File publish-ng.ps1
echo "`n-----=====[ PUSHING MVC PACKS TO NPM COMPLETED ]=====-----`n" 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 cd ..\deploy #always return to the deploy directory

2
deploy/6-git-commit.ps1

@ -9,6 +9,6 @@ git commit -m Update_NPM_Package_Versions
git push git push
echo "`n-----=====[ COMMITTING CHANGES COMPLETED ]=====-----`n" 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 cd deploy #always return to the deploy directory

3
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}" 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" Write-Info "Completed: Downloading release zip into Natro completed"
echo "`n---===[ COMPLETED ]===---"
#--------------------------------------------------------------------- #---------------------------------------------------------------------

Loading…
Cancel
Save