Skip to content

Commit

Permalink
fixed task.json to jonathan's specfications also fixed tfx cli error
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbommarito committed Mar 30, 2016
1 parent 8f54e04 commit 5df8149
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
23 changes: 15 additions & 8 deletions Tasks/codepush-promote/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@
"EditableOptions": "True"
}
},
{
"name": "appStoreVersion",
"type": "string",
"label": "Target Binary Version",
"defaultValue": "",
"required": false,
"helpMarkDown": "Semver expression that specifies the binary app version(s) this release is targetting (e.g. 1.1.0, ~1.2.3)."
},
{
"name": "description",
"type": "pickList",
Expand All @@ -125,6 +117,21 @@
"EditableOptions": "True"
}
},
{
"name": "appStoreVersion",
"type": "pickList",
"label": "Target Binary Version",
"defaultValue": "Inherit",
"required": false,
"groupName": "advanced",
"helpMarkDown": "Semver expression that specifies the binary app version(s) this release is targetting (e.g. 1.1.0, ~1.2.3). Selecting \"Inherit\" will use the target binary version from the release being promoted.",
"options": {
"Inherit": "Inherit"
},
"properties": {
"EditableOptions": "True"
}
},
{
"name": "rollout",
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion bin/tfxupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function npmInstall() {

function tfxUpload() {
console.log("Transferring...")
return exec("tfx build tasks upload . --overwrite true").then(logExecReturn);
return exec("tfx build tasks upload --task-path . --overwrite true").then(logExecReturn);
}

function logExecReturn(result) {
Expand Down

0 comments on commit 5df8149

Please sign in to comment.