summary refs log tree commit diff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-10-18 11:34:14 -0400
committerOren Novotny <oren@novotny.org>2015-10-18 11:34:14 -0400
commit385855f924de93603912e3d3b123e7de58bb1960 (patch)
tree260ad276c59a43db1d65a0d9d96f984b085b893b /appveyor.yml
parentmerge latest from master (diff)
downloadBouncyCastle.NET-ed25519-385855f924de93603912e3d3b123e7de58bb1960.tar.xz
appveyor script update
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index f05e026c8..a7cd9eb56 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -2,22 +2,22 @@ configuration: Release
 platform: Any CPU
 install:
   - cmd: choco install gitversion.portable -pre -y
-  - cmd: curl -fsS -o .nuget\nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
+  - cmd: appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
 
 assembly_info:
   patch: false
       
 before_build:
-  - cmd: .nuget\nuget install gitlink -Verbosity quiet -ExcludeVersion -pre
+  - cmd: nuget install gitlink -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion -pre
   - cmd: .nuget\nuget restore
   - cmd: gitversion /l console /output buildserver /updateAssemblyInfo
   
 build:
   verbosity: normal
+  parallel: true
   project: BouncyCastle-PCL.sln
   
 after_build:
-  - cmd: packages\gitlink\lib\net45\GitLink.exe . -f BouncyCastle-PCL.sln -u https://github.com/onovotny/BouncyCastle-PCL
-  - cmd: ECHO .nuget\nuget pack Portable.BouncyCastle.nuspec -version "%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%" -prop "target=%CONFIGURATION%"
-  - cmd: .nuget\nuget pack Portable.BouncyCastle.nuspec -version "%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%" -prop "target=%CONFIGURATION%"
+  - ps: '.\packages\gitlink\lib\net45\GitLink.exe . -f BouncyCastle-PCL.sln -u https://github.com/onovotny/BouncyCastle-PCL -s $env:APPVEYOR_REPO_COMMIT;if($lastexitcode -ne 0){$lastexitcode = 0}'
+  - cmd: nuget pack Portable.BouncyCastle.nuspec -version "%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%" -prop "target=%CONFIGURATION%"
   - cmd: appveyor PushArtifact "Portable.BouncyCastle.%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%.nupkg"
\ No newline at end of file