Skip to content

Commit

Permalink
update android and uwp cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Teshvier Mathura committed Jun 2, 2020
1 parent d0a0c92 commit c43c154
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,18 @@ dotnet_csproj:
informational_version: '{version}'
before_build:
- cmd: nuget restore Spacearr.sln
- cmd: echo %APPVEYOR_BUILD_VERSION%
- cmd: >-
cd Spacearr.Android\Properties
powershell -Command "(gc AndroidManifest.xml) -replace '1.0', $env:APPVEYOR_BUILD_VERSION | Out-File -encoding ASCII AndroidManifest.xml"
powershell -Command "(gc AndroidManifest.xml) -replace 'android:versionName=""""1.0""""', 'android:versionName=""""$env:APPVEYOR_BUILD_VERSION""""' | Out-File -encoding ASCII AndroidManifest.xml"
more AndroidManifest.xml
- cmd: >-
cd Spacearr.UWP
powershell -Command "(gc Package.appxmanifest) -replace 'Version=""""1.0.0.0""""', 'Version=""""$env:APPVEYOR_BUILD_VERSION""""' | Out-File -encoding ASCII Package.appxmanifest"
more Package.appxmanifest
build:
verbosity: minimal
test_script:
Expand Down

0 comments on commit c43c154

Please sign in to comment.