|
4 | 4 | steps: |
5 | 5 |
|
6 | 6 | # check if managed helper files where changed |
7 | | - - powershell: | |
8 | | - git config --global user.email "[email protected]" |
9 | | - git config --global user.name "nfbot" |
| 7 | + # - powershell: | |
| 8 | + # git config --global user.email "[email protected]" |
| 9 | + # git config --global user.name "nfbot" |
10 | 10 |
|
11 | | - $auth = "basic $([System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(":$(GitHubToken)"))))" |
| 11 | + # $auth = "basic $([System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(":$(GitHubToken)"))))" |
12 | 12 |
|
13 | | - $commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/nf-interpreter/commits/$(Build.SourceVersion)" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET |
14 | | - Write-host "Files changed:" |
15 | | - $commit.files | % {$_.filename} |
| 13 | + # $commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/nf-interpreter/commits/$(Build.SourceVersion)" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET |
| 14 | + # Write-host "Files changed:" |
| 15 | + # $commit.files | % {$_.filename} |
16 | 16 |
|
17 | | - if ( $commit.files.filename -like "*$(TargetBoard)/managed_helpers*" ) |
18 | | - { |
19 | | - echo "##vso[task.setvariable variable=BUILD_NUGET_PACKAGE]true" |
| 17 | + # if ( $commit.files.filename -like "*$(TargetBoard)/managed_helpers*" ) |
| 18 | + # { |
| 19 | + # echo "##vso[task.setvariable variable=BUILD_NUGET_PACKAGE]true" |
20 | 20 |
|
21 | | - $counter = $env:HelperPackageVersion |
22 | | - $version = [int]$counter |
23 | | - $packageVersion = "1.0." + $version.ToString() |
| 21 | + # $counter = $env:HelperPackageVersion |
| 22 | + # $version = [int]$counter |
| 23 | + # $packageVersion = "1.0." + $version.ToString() |
24 | 24 |
|
25 | | - echo "##vso[task.setvariable variable=PACKAGE_NUGET_VERSION]$packageVersion" |
| 25 | + # echo "##vso[task.setvariable variable=PACKAGE_NUGET_VERSION]$packageVersion" |
26 | 26 |
|
27 | | - Write-host "Package version is: $packageVersion" |
28 | | - } |
29 | | - else |
30 | | - { |
31 | | - echo "##vso[task.setvariable variable=BUILD_NUGET_PACKAGE]False" |
32 | | - } |
| 27 | + # Write-host "Package version is: $packageVersion" |
| 28 | + # } |
| 29 | + # else |
| 30 | + # { |
| 31 | + # echo "##vso[task.setvariable variable=BUILD_NUGET_PACKAGE]False" |
| 32 | + # } |
33 | 33 |
|
34 | | - condition: succeeded() |
35 | | - displayName: Check if managed helpers files were changed |
| 34 | + # condition: succeeded() |
| 35 | + # displayName: Check if managed helpers files were changed |
36 | 36 |
|
37 | 37 | - template: azure-pipelines-templates/download-logo.yml@templates |
38 | 38 |
|
|
0 commit comments