66 строки
2.6 KiB
YAML
66 строки
2.6 KiB
YAML
|
|
steps:
|
|
- task: UseDotNet@2
|
|
displayName: 'Use .NET'
|
|
inputs:
|
|
packageType: 'sdk'
|
|
version: '8.0.301'
|
|
|
|
- task: nventiveCanaryUpdater@5
|
|
displayName: 'Canary Update (dev)'
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/dev')
|
|
inputs:
|
|
solution: '$(build.sourcesdirectory)'
|
|
useNuGetOrg: true
|
|
usePrivateFeed: false
|
|
mergeBranch: true
|
|
branchToMerge: master
|
|
nugetUpdaterVersion: '2.3.0-alpha.65'
|
|
packageAuthor: 'nventive,uno platform'
|
|
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
|
|
|
|
- task: nventiveCanaryUpdater@5
|
|
displayName: 'Canary Update (5x)'
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/5x')
|
|
inputs:
|
|
solution: '$(build.sourcesdirectory)'
|
|
usePrivateFeed: false
|
|
useNuGetOrg: true
|
|
mergeBranch: true
|
|
branchToMerge: master
|
|
nugetUpdaterVersion: '2.3.0-alpha.65'
|
|
nugetVersion: feature.5x,dev
|
|
packageAuthor: 'nventive,unoplatform,uno platform'
|
|
summaryFile: '$(Build.ArtifactStagingDirectory)/Summary.md'
|
|
resultFile: '$(Build.ArtifactStagingDirectory)/Results.json'
|
|
additionalPublicSources: 'https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json'
|
|
|
|
- pwsh: |
|
|
cd $(build.sourcesdirectory)
|
|
dotnet nuget add source https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json -n unodev5x
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/5x')
|
|
displayName: 'Use uno dev 5x source'
|
|
|
|
|
|
- powershell: |
|
|
dotnet tool uninstall nventive.nuget.updater.tool --tool-path $(Agent.TempDirectory)
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
|
|
|
|
- pwsh: |
|
|
gci -r -include "info.plist" |
|
|
foreach-object {
|
|
$a = $_.fullname; ( get-content $a ) |
|
|
foreach-object { $_ -replace "com.nventive.uno.gallery","com.nventive.uno.gallery-canary" } |
|
|
set-content $a }
|
|
displayName: 'Adjust info.plist bundle name'
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
|
|
|
|
- pwsh: |
|
|
gci -r -include AndroidManifest.xml,android-uitest-run.sh |
|
|
foreach-object {
|
|
$a = $_.fullname; ( get-content $a ) |
|
|
foreach-object { $_ -replace "com.nventive.uno.ui.demo","com.nventive.uno.ui.demo.canary" } |
|
|
set-content $a }
|
|
displayName: 'Adjust info.plist bundle name'
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
|