Skip to content

Commit cb0a1e1

Browse files
keerthanakumarBryan Smith
authored andcommitted
Passing tests for AppCenterDistribute
1 parent d8fcb3d commit cb0a1e1

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Tasks/AppCenterDistributeV1/Tests/L0PublishCommitInfo_1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ nock('https://example.test')
5454
.patch("/my_release_location", JSON.stringify({
5555
status: "available",
5656
release_notes: "my release notes",
57+
mandatory_update: false,
5758
destinations: [{ id: "00000000-0000-0000-0000-000000000000" }],
5859
build: {
5960
id: '2',

Tasks/AppCenterDistributeV1/Tests/L0PublishCommitInfo_2.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ nock('https://example.test')
5353
.patch("/my_release_location", JSON.stringify({
5454
status: "available",
5555
release_notes: "my release notes",
56+
mandatory_update: false,
5657
destinations: [{ id: "00000000-0000-0000-0000-000000000000" }],
5758
build: {
5859
id: '2',

Tasks/AppCenterDistributeV1/task.loc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 139,
16-
"Patch": 0
16+
"Patch": 2
1717
},
1818
"releaseNotes": "ms-resource:loc.releaseNotes",
1919
"groups": [
@@ -157,6 +157,13 @@
157157
"helpMarkDown": "ms-resource:loc.input.help.releaseNotesFile",
158158
"visibleRule": "releaseNotesSelection = file"
159159
},
160+
{
161+
"name": "isMandatory",
162+
"type": "boolean",
163+
"label": "ms-resource:loc.input.label.isMandatory",
164+
"defaultValue": "false",
165+
"required": false
166+
},
160167
{
161168
"name": "destinationId",
162169
"aliases": [

0 commit comments

Comments
 (0)