forked from TestStack/White
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated appveyor script to do source-indexing and nuget pack
- Loading branch information
1 parent
d85a48f
commit d09c58a
Showing
6 changed files
with
31 additions
and
68 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
assembly-versioning-scheme: MajorMinor | ||
mode: ContinuousDelivery | ||
next-version: 0.13.0 | ||
branches: {} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
version: 1.0.{build} | ||
init: | ||
- ps: | ||
install: | ||
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1')) | ||
before_build: | ||
- cmd: nuget restore src\TestStack.White.sln | ||
build: | ||
project: src\TestStack.White.sln | ||
verbosity: minimal | ||
- choco install gitversion.portable -pre -y | ||
- choco install gitlink -y | ||
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1')) | ||
|
||
assembly_info: | ||
patch: false | ||
|
||
platform: | ||
- Any CPU | ||
|
||
configuration: | ||
- Release | ||
|
||
build_script: | ||
- cmd: nuget restore src\TestStack.White.sln | ||
- cmd: gitversion /l console /output buildserver /updateAssemblyInfo | ||
|
||
- cmd: msbuild src\TestStack.White.sln "/p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%" | ||
|
||
- cmd: ECHO GitLink src\ -u https://github.com/TestStack/White -c %CONFIGURATION% | ||
- cmd: GitLink . -u https://github.com/TestStack/White -c %CONFIGURATION% | ||
|
||
- cmd: ECHO nuget pack src\TestStack.White\bin\%CONFIGURATION%\TestStack.White.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%" | ||
- cmd: nuget pack src\TestStack.White\bin\%CONFIGURATION%\TestStack.White.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%" | ||
|
||
on_finish: | ||
- ps: if (Test-Path -path c:\FailedTestsScreenshots) { Get-ChildItem c:\FailedTestsScreenshots\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }} | ||
- ps: if (Test-Path -path c:\FailedTestsScreenshots) { Get-ChildItem c:\FailedTestsScreenshots\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }} |
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