From db66d26287662c5fadcfab7bfa850fd2d339f535 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 4 Jun 2018 15:36:56 -0400 Subject: [PATCH] upadte release scripts --- scripts/{choco-pack.ps1 => choco-update.ps1} | 3 +++ scripts/{snap-release.ps1 => snap-update.ps1} | 0 2 files changed, 3 insertions(+) rename scripts/{choco-pack.ps1 => choco-update.ps1} (96%) rename scripts/{snap-release.ps1 => snap-update.ps1} (100%) diff --git a/scripts/choco-pack.ps1 b/scripts/choco-update.ps1 similarity index 96% rename from scripts/choco-pack.ps1 rename to scripts/choco-update.ps1 index 04f2827d..cb1266e7 100644 --- a/scripts/choco-pack.ps1 +++ b/scripts/choco-update.ps1 @@ -27,3 +27,6 @@ $chocoInstall = $distChocoDir + "\tools\chocolateyinstall.ps1"; (Get-Content $chocoInstall).replace('__version__', $srcPackageVersion).replace('__checksum__', $checksum) | Set-Content $chocoInstall choco pack $nuspec --version $srcPackageVersion --out $distChocoDir +cd $distChocoDir +choco push +cd $rootDir diff --git a/scripts/snap-release.ps1 b/scripts/snap-update.ps1 similarity index 100% rename from scripts/snap-release.ps1 rename to scripts/snap-update.ps1