Add GitLink to the build pipeline

This commit is contained in:
lukeIam committed 2017-12-22 14:03:39 +01:00
1 parent 6440c7249a
commit 259447fdc1
2 files changed
+12

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
choco install gitlink --version 3.2.0-unstable0014 --pre
Get-ChildItem -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
gitlink -u "https://github.com/$($Env:APPVEYOR_REPO_NAME)" -a --baseDir "$Env:APPVEYOR_BUILD_FOLDER" --commit "$Env:APPVEYOR_REPO_COMMIT" $_.Fullname
}
else{
gitlink -u "https://github.com/$($Env:APPVEYOR_REPO_NAME)" --baseDir "$Env:APPVEYOR_BUILD_FOLDER" --commit "$Env:APPVEYOR_REPO_COMMIT" $_.Fullname
}
}
+2
View File
@@ -50,6 +50,8 @@ build:
verbosity: normal
after_build:
- ps: |
./.appveyor/runGitLink.ps1
cd Output
$Env:MAIN_REPO = $False