Skip to content

Commit

Permalink
Fix android version code offset
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Dec 21, 2017
1 parent a4561b9 commit 51e6fa6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tasks/AndroidBumpVersion/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"version": {
"Major": 0,
"Minor": 3,
"Minor": 4,
"Patch": 0
},
"instanceNameFormat": "Bump Android Versions in $(sourcePath)",
Expand Down
2 changes: 1 addition & 1 deletion tasks/AndroidBumpVersion/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function run() {
console.log(' (i) Version Name (shortcode): ' + versionName);
}

if(isNullOrUndefined(versionCodeOffset))
if(!isNullOrUndefined(versionCodeOffset))
{
console.log(' (i) versionCodeOffset: ' + versionCodeOffset);
versionCode = String(Number(versionCode)/1 + Number(versionCodeOffset)/1);
Expand Down
2 changes: 1 addition & 1 deletion tasks/AndroidPackageName/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"version": {
"Major": 0,
"Minor": 3,
"Minor": 4,
"Patch": 0
},
"instanceNameFormat": "Change package name in $(sourcePath)",
Expand Down
2 changes: 1 addition & 1 deletion tasks/iOSBumpVersion/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"version": {
"Major": 0,
"Minor": 3,
"Minor": 4,
"Patch": 0
},
"instanceNameFormat": "Bump iOS Versions in $(sourcePath)",
Expand Down
2 changes: 1 addition & 1 deletion tasks/iOSBundleIdentifier/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"version": {
"Major": 0,
"Minor": 3,
"Minor": 4,
"Patch": 0
},
"instanceNameFormat": "Change identifier in $(sourcePath)",
Expand Down
4 changes: 2 additions & 2 deletions vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"manifestVersion": 1,
"id": "motz-mobile-buildtasks",
"name": "Mobile App Tasks for iOS and Android",
"version": "0.3.2",
"version": "0.4.0",
"publisher": "vs-publisher-473885",
"public" : false,
"public" : true,
"repository": {
"type": "git",
"uri": "https://github.com/jamesmontemagno/vsts-mobile-tasks"
Expand Down

0 comments on commit 51e6fa6

Please sign in to comment.