Last active
August 29, 2015 14:06
-
-
Save pvandervelde/77bd834239d9f67c40d7 to your computer and use it in GitHub Desktop.
nBuildKit AppVeyor environment initialization script
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" | |
git config --global user.email "nBuildKit.AppVeyor@example.com" | |
git config --global user.name "nBuildKit AppVeyor deployment" | |
$currentDir = $pwd | |
$scriptDir = "c:\projects\scripts" | |
$installDir = "c:\tools\githubrelease" | |
# clone the powershell scripts repository | |
git clone -q https://github.com/pvandervelde/Scripts.git $scriptDir | |
# 'Install' the github-release application | |
try | |
{ | |
sl (Join-Path $scriptDir "src\ps") | |
.\install-github-release.ps1 -installPath $installDir | |
} | |
finally | |
{ | |
sl $currentDir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment