java -jar build/libs/manifestupdater-1.0.0-all.jar -path=src/main/resources/AndroidManifest.xml -versionName=1.0.0 -versionCode=1024
If you have a release branch named release/1.0, then you could use the following to automate your versionCode and versionName like this:
releaseVersion=`echo $BITRISE_GIT_BRANCH | sed 's/release\///'`
java -jar manifestupdater-1.0.0-all.jar -path=Xamarin.Droid/Properties/AndroidManifest.xml -versionCode=$BITRISE_BUILD_NUMBER -versionName=$releaseVersion.$GIT_CLONE_COMMIT_COUNT
e.g.: android:versionName=100 and android:versionCode=1.0.255
java -jar build/libs/manifestupdater-1.0.0-all.jar -help
gradle clean build
Copyright 2018 Jan Rabe Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.