VSTS Tasks for Mobile!
Branch: master
Clone or download
jamesmontemagno Merge pull request #16 from ahoefling/entitlement-transform
Added New Build Task - Transform Entitlement Property
Latest commit 1b6205e Dec 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Verify offset and code for NAN Feb 26, 2018
build
images
tasks Migrated changes from my private fork. Added gulp build tasks so it i… Dec 18, 2018
.gitattributes Initial commit Nov 10, 2017
.gitignore Ignore my android manifest :) Dec 15, 2017
LICENSE Initial commit Nov 10, 2017
README.md additional clean. Add back in bash scripts Dec 15, 2017
gulpfile.js Migrated changes from my private fork. Added gulp build tasks so it i… Dec 18, 2018
package-lock.json Migrated changes from my private fork. Added gulp build tasks so it i… Dec 18, 2018
package.json Migrated changes from my private fork. Added gulp build tasks so it i… Dec 18, 2018
vss-extension.json Added unique id for entitlement task and updated version number to 8.0 May 17, 2018

README.md

Mobile App (iOS and Android) Tasks for VSTS

These tasks help automate bumping version numbers and changing package names at build time.

You will find each script is written as a bash script, powershell core script, and a typescript script for you to use in your own project. The typescript version is used in VSTS as it is supported cross-platform.

Android

Multiple tasks to update the AndroidManifest.xml file

Bump Version

Change app's version name and code at build time.

Inputs:

  • sourcePath: Path to android manifest
  • versionCode: code number that must be an integer
  • versionCodeOffset: a specific number to increment the version code
  • versionName: user visible name
  • printFile: output the file before and after changing variables

Package Identifiers

Change app's package name.

Inputs:

  • sourcePath: Path to android manifest
  • packageName: name to replace (com.company.app)
  • appLabel: application name to replace (App Name)
  • printFile: output the file before and after changing variables

iOS

Multiple tasks to update the info.plist file, must be run on macOS

Bump Version

Change app's version name and code at build time.

Inputs:

  • sourcePath: Path to info.plist
  • versionCode: code number that must be an integer
  • versionCodeOffset: a specific number to increment the version code
  • versionName: user visible name (short code)
  • printFile: output the file before and after changing variables

Bundle Identifiers

Change app's bundle name and identifier

Inputs:

  • sourcePath: Path to android manifest
  • bundleIdenifier: identiier to replace (com.company.app)
  • bundleName: name to replace (App Name)
  • printFile: output the file before and after changing variables