Skip to content

Commit 8e70672

Browse files
authored
Update azure-pipelines-release.yml
1 parent de57d73 commit 8e70672

File tree

1 file changed

+2
-94
lines changed

1 file changed

+2
-94
lines changed

builds/azure-pipelines-release.yml

Lines changed: 2 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
solution: '**/*.wapproj'
8585
platform: 'x86'
8686
configuration: '$(buildConfiguration)'
87-
msbuildArguments: '/t:build;_GenerateAppxPackage /restore /p:AppxLogTelemetryFromSideloadingScript=False /p:GenerateAppInstallerFile=True /p:AppInstallerUri=https://filescommunity.blob.core.windows.net/files/preview/ /p:AppInstallerCheckForUpdateFrequency=OnApplicationRun /p:AppInstallerUpdateFrequency=1 /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=Sideload /p:AppxPackageSigningEnabled=true /p:PackageCertificateKeyFile="$(caCertificate.secureFilePath)" /p:PackageCertificatePassword="$(signingCert.password)" /p:PackageCertificateThumbprint=""'
87+
msbuildArguments: '/t:build;_GenerateAppxPackage /restore /p:AppxLogTelemetryFromSideloadingScript=False /p:GenerateAppInstallerFile=True /p:AppInstallerUri=https://filescommunity.blob.core.windows.net/files/stable/ /p:AppInstallerCheckForUpdateFrequency=OnApplicationRun /p:AppInstallerUpdateFrequency=1 /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=Sideload /p:AppxPackageSigningEnabled=true /p:PackageCertificateKeyFile="$(caCertificate.secureFilePath)" /p:PackageCertificatePassword="$(signingCert.password)" /p:PackageCertificateThumbprint=""'
8888
maximumCpuCount: true
8989

9090
- task: CopyFiles@2
@@ -108,96 +108,4 @@ jobs:
108108
Destination: 'AzureBlob'
109109
storage: 'filescommunity'
110110
ContainerName: 'files'
111-
BlobPrefix: 'preview'
112-
113-
### Store release ###
114-
- job: StoreRelease
115-
timeoutInMinutes: 120
116-
117-
steps:
118-
- task: PowerShell@2
119-
inputs:
120-
targetType: 'inline'
121-
script: |
122-
[xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest
123-
$xmlDoc.Package.Identity.Name="49306atecsolution.FilesUWP"
124-
$xmlDoc.Package.Identity.Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7"
125-
$xmlDoc.Package.Properties.DisplayName="Files"
126-
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="Files"
127-
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
128-
failOnStderr: true
129-
130-
- task: PowerShell@2
131-
displayName: 'Use Release Logo'
132-
inputs:
133-
targetType: 'inline'
134-
script: |
135-
gci $(Build.SourcesDirectory)\src -Include *.csproj, *.appxmanifest, *.wapproj -recurse | ForEach -Process {
136-
(Get-Content $_ -Raw | ForEach -Process {$_ -replace "Assets\\AppTilesDev", "Assets\AppTiles"}) | Set-Content $_ -NoNewline
137-
}
138-
failOnStderr: true
139-
140-
- task: DownloadSecureFile@1
141-
name: mapsDevKey
142-
displayName: 'Download Bing Maps Dev Key'
143-
inputs:
144-
secureFile: 'BingMapsKey.txt'
145-
146-
- task: CopyFiles@2
147-
inputs:
148-
SourceFolder: '$(Agent.TempDirectory)'
149-
Contents: '$(mapsDevKey.secureFilePath)'
150-
TargetFolder: '$(Build.SourcesDirectory)\src\Files\Resources'
151-
overWrite: true
152-
153-
- task: DownloadSecureFile@1
154-
name: appCenterDevKey
155-
displayName: 'Download AppCenter Dev Key'
156-
inputs:
157-
secureFile: 'AppCenterKey.txt'
158-
159-
- task: CopyFiles@2
160-
inputs:
161-
SourceFolder: '$(Agent.TempDirectory)'
162-
Contents: '$(appCenterDevKey.secureFilePath)'
163-
TargetFolder: '$(Build.SourcesDirectory)\src\Files\Resources'
164-
overWrite: true
165-
166-
- task: UseDotNet@2
167-
inputs:
168-
packageType: sdk
169-
version: 6.0.100
170-
171-
- task: MSBuild@1
172-
inputs:
173-
solution: '**/*.wapproj'
174-
platform: 'x86'
175-
configuration: '$(buildConfiguration)'
176-
msbuildArguments: '/t:build;_GenerateAppxPackage /restore /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
177-
maximumCpuCount: true
178-
179-
- task: CopyFiles@2
180-
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
181-
inputs:
182-
SourceFolder: '$(system.defaultworkingdirectory)'
183-
Contents: '**\bin\$(BuildConfiguration)\**'
184-
TargetFolder: '$(build.artifactstagingdirectory)'
185-
186-
- task: PublishBuildArtifacts@1
187-
displayName: 'Publish Artifact: Store'
188-
inputs:
189-
PathtoPublish: '$(build.artifactstagingdirectory)'
190-
ArtifactName: 'Store'
191-
publishLocation: 'Container'
192-
193-
- task: store-flight@0
194-
inputs:
195-
serviceEndpoint: 'Files'
196-
appId: '9NGHP3DX8HDX'
197-
flightName: 'Files - Preview'
198-
packagePath: '$(appxPackageDir)\**\*.msixupload'
199-
force: false
200-
skipPolling: false
201-
deletePackages: true
202-
numberOfPackagesToKeep: '5'
203-
isMandatoryUpdate: true
111+
BlobPrefix: 'stable'

0 commit comments

Comments
 (0)