Add GitLink to the build pipeline
This commit is contained in:
1 parent
6440c7249a
commit
259447fdc1
2 files changed
+12
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -50,6 +50,8 @@ build:
|
||||
verbosity: normal
|
||||
after_build:
|
||||
- ps: |
|
||||
./.appveyor/runGitLink.ps1
|
||||
|
||||
cd Output
|
||||
|
||||
$Env:MAIN_REPO = $False
|
||||
|
||||
Reference in new issue
Block a user