1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Fixed android CI config

This commit is contained in:
Michael Gordeev
2020-04-21 00:38:27 +03:00
parent d3a3c9b834
commit ebdafc273f
+2 -2
View File
@@ -33,8 +33,8 @@ steps:
script: |
(Get-Content AndroidManifest.xml -encoding UTF8 | Out-String) -replace '(?<=\bandroid:versionCode=")[^"]*', $(Build.BuildId) | set-content AndroidManifest.xml -encoding UTF8
(Get-Content AndroidManifest.xml -encoding UTF8 | Out-String) -replace '(?<=\bandroid:versionName=")[^"]*', $(Build.BuildNumber) | set-content AndroidManifest.xml -encoding UTF8
Rename-Item '$(Build.SourcesDirectory)/changelogs/appMetadata/en/changelogs/android-changelog.txt' '$(Build.BuildId).txt'
Rename-Item '$(Build.SourcesDirectory)/changelogs/appMetadata/ru/changelogs/android-changelog.txt' '$(Build.BuildId).txt'
Rename-Item '$(Build.SourcesDirectory)/changelogs/android/en-IN/changelogs/android-changelog.txt' '$(Build.BuildId).txt'
Rename-Item '$(Build.SourcesDirectory)/changelogs/android/ru-RU/changelogs/android-changelog.txt' '$(Build.BuildId).txt'
workingDirectory: '$(Build.SourcesDirectory)\GUT.Schedule\GUTSchedule.Droid\Properties'
- task: XamarinAndroid@1