File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ trigger : none
2
+ pr : none
3
+
4
+ pool :
5
+ vmImage : ' windows-latest'
6
+
7
+ variables :
8
+ solution : ' **/*.sln'
9
+ buildPlatform : ' x86|x64'
10
+ buildConfiguration : ' Release'
11
+ appxPackageDir : ' $(build.artifactStagingDirectory)\AppxPackages\\'
12
+
13
+ steps :
14
+ - task : PowerShell@2
15
+ inputs :
16
+ targetType : ' inline'
17
+ script : |
18
+ [xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\Files.Package\Package.appxmanifest
19
+ $xmlDoc.Package.Identity.Name="49306atecsolution.FilesUWP"
20
+ $xmlDoc.Package.Properties.DisplayName="Files UWP - Preview"
21
+ $xmlDoc.Package.Applications.Application.VisualElements.DisplayName="Files UWP - Preview"
22
+ $xmlDoc.Save('$(Build.SourcesDirectory)\Files.Package\Package.appxmanifest')
23
+ failOnStderr : true
24
+
25
+ - task : NuGetToolInstaller@1
26
+
27
+ - task : NuGetCommand@2
28
+ inputs :
29
+ restoreSolution : ' $(solution)'
30
+
31
+ - task : MSBuild@1
32
+ inputs :
33
+ platform : ' x86'
34
+ solution : ' **/*.wapproj'
35
+ configuration : ' $(buildConfiguration)'
36
+ msbuildArguments : ' /t:build;_GenerateAppxPackage /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
37
+
38
+ - task : store-flight@0
39
+ inputs :
40
+ serviceEndpoint : ' Files'
41
+ appId : ' 9NGHP3DX8HDX'
42
+ flightName : ' Files UWP Fast Ring'
43
+ packagePath : ' $(appxPackageDir)\**\*.msixupload'
44
+ force : false
45
+ skipPolling : false
You can’t perform that action at this time.
0 commit comments