Last active
August 29, 2015 14:06
-
-
Save pvandervelde/9cf270ef5266b18a1ac9 to your computer and use it in GitHub Desktop.
AppVeyor workspace restore for the nBuildKit delivery build.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Halt immediately if there is a problem | |
$ErrorActionPreference = "Stop" | |
"PATH is: " | |
$env:Path | |
"GitHub-release environment variable is: " | |
$env:GitHubReleasePath | |
$currentDir = $pwd | |
$projectDir = "c:\projects" | |
$scriptDir = "c:\projects\scripts" | |
$branchToDeploy = $env:BranchToDeploy | |
# Restore artifacts | |
try | |
{ | |
& $scriptDir\src\ps\appveyor-deploy-restore-nbuildkit-workspace.ps1 ` | |
-scriptPath $scriptDir ` | |
-projectPath $projectDir ` | |
-accountName pvandervelde ` | |
-projectToDeploy nbuildkit ` | |
-branchToDeploy $branchToDeploy ` | |
-artifactsToDeploy build\deploy\nBuildKit.MsBuild._#version#_.nupkg,build\deploy\nBuildKit.MsBuild.Projects.CSharp._#version#_.nupkg,build\deploy\nBuildKit.MsBuild.Projects.WiX._#version#_.nupkg,build\deploy\nbuildkit.msbuild.samples-_#version#_.zip,build\temp\releasenotes_full.md,build\temp\releasenotes_short.md | |
} | |
finally | |
{ | |
sl $currentDir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment