-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines-translation.yml
40 lines (33 loc) · 1.07 KB
/
azure-pipelines-translation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
steps:
- checkout: self
persistCredentials: true
- task: TouchdownBuildTask@1
inputs:
environment: 'PRODEXT'
teamId: '26355'
authType: 'OAuth'
authId: '22925243-9bcf-493f-9aa4-4feb32593f4c'
authKey: 'bLk0kqs-U5Ry7n2z.ntZgkdf~z31.Jo_4d'
resourceFilePath: '**/Strings.resx'
appendRelativeDir: true
cultureMappingType: 'None'
- task: PowerShell@2
inputs:
targetType: 'inline'
script: |
# Show Touchdown output
git status
# Show post-processed output
git status
# Check in localized files to temp branch
git checkout -b tdbuild/build-$env:BUILD_BUILDID
git add --all
git config --global user.name "Build Pipeline"
git commit -am "Localized resource files generated by tdbuild"
git push --set-upstream origin tdbuild/build-$env:BUILD_BUILDID