mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 14:51:44 +01:00
Update .gitlab-ci.yml, Borepin/Borepin.Android/Borepin.Android.csproj files
This commit is contained in:
parent
114b4434bd
commit
e6899ac145
@ -32,6 +32,8 @@ variables:
|
||||
DOTNET_PATH: 'C:\Program Files\dotnet\dotnet.exe'
|
||||
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe'
|
||||
NUNIT_PATH: 'C:\ProgramData\chocolatey\bin\nunit3-console.exe'
|
||||
LC_ALL: 'en_US.UTF-8'
|
||||
LANG: 'en_US.UTF-8'
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@ -179,3 +179,8 @@
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
|
||||
<Target Name="BeforeBuild" Condition=" '$(CI)' == 'true' ">
|
||||
<XmlPoke XmlInputPath="Properties\AndroidManifest.xml" Namespaces="<Namespace Prefix='android' Uri='http://schemas.android.com/apk/res/android' />" Query="manifest/@android:versionCode" Value="$(CI_COMMIT_SHORT_SHA)" />
|
||||
<XmlPoke XmlInputPath="Properties\AndroidManifest.xml" Namespaces="<Namespace Prefix='android' Uri='http://schemas.android.com/apk/res/android' />" Query="manifest/@android:versionName" Value="2.0.$(CI_COMMIT_SHORT_SHA)" />
|
||||
</Target>
|
||||
|
Loading…
x
Reference in New Issue
Block a user