Skip to content

Commit ec9d493

Browse files
authored
Preview build: 2.4.35 (#11319)
1 parent 11512fd commit ec9d493

File tree

2 files changed

+11
-20
lines changed

2 files changed

+11
-20
lines changed

builds/azure-pipelines-release.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="${{parameters.packageDisplayName}}"
6464
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest')
6565
failOnStderr: true
66-
66+
6767
# This replaces references to the dev icon with the specified icon variant
6868
- task: PowerShell@2
6969
displayName: 'Use Correct Logo'
@@ -156,12 +156,6 @@ jobs:
156156
ContainerName: 'files'
157157
BlobPrefix: '${{parameters.releaseBranch}}'
158158

159-
- task: tfx-cloudflare-purge@1
160-
inputs:
161-
username: '$(cloudflare.username)'
162-
apikey: '$(cloudflare.apikey)'
163-
zonename: '$(cloudflare.zoneid)'
164-
165159
### Store release ###
166160
- job: StoreRelease
167161
timeoutInMinutes: 120
@@ -210,19 +204,16 @@ jobs:
210204
TargetFolder: '$(Build.SourcesDirectory)\src\Files.App\Resources'
211205
overWrite: true
212206

213-
# Adds the AppCenter token to the project
214-
- task: DownloadSecureFile@1
215-
name: appCenterDevKey
216-
displayName: 'Download AppCenter Dev Key'
217-
inputs:
218-
secureFile: 'AppCenterKey.txt'
219-
220-
- task: CopyFiles@2
207+
# Injects the AppCenter token to the project
208+
- task: PowerShell@2
209+
displayName: 'Inject AppCenter token'
221210
inputs:
222-
SourceFolder: '$(Agent.TempDirectory)'
223-
Contents: '$(appCenterDevKey.secureFilePath)'
224-
TargetFolder: '$(Build.SourcesDirectory)\src\Files.App\Resources'
225-
overWrite: true
211+
targetType: 'inline'
212+
script: |
213+
gci $(Build.SourcesDirectory)\src -Include *.cs -recurse | ForEach -Process {
214+
(Get-Content $_ -Raw | ForEach -Process {$_ -replace "appcenter.secret", "$(appcenter.secret)"}) | Set-Content $_ -NoNewline
215+
}
216+
failOnStderr: true
226217

227218
- task: UseDotNet@2
228219
inputs:

src/Files.App (Package)/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
xmlns:uap4="http://schemas.microsoft.com/appx/manifest/uap/windows10/4"
1111
xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
1212
IgnorableNamespaces="uap uap5 mp rescap desktop6 desktop4 desktop">
13-
<Identity Name="FilesDev" Publisher="CN=Files" Version="2.4.33.0" />
13+
<Identity Name="FilesDev" Publisher="CN=Files" Version="2.4.35.0" />
1414
<Properties>
1515
<DisplayName>Files - Dev</DisplayName>
1616
<PublisherDisplayName>Yair A</PublisherDisplayName>

0 commit comments

Comments
 (0)