Skip to content

Commit 62a3425

Browse files
viralpandyamerlynomsft
authored andcommitted
Users/vivasa/test (#20556)
* Update readme * Update readme * Update task readme * Update readme changes * Updated readme * Update readme for generated files too * Adding build steps for publishsymbols * Update readme and build instructions
1 parent 2595b4e commit 62a3425

File tree

10 files changed

+55
-16
lines changed

10 files changed

+55
-16
lines changed

Tasks/PublishSymbolsV2/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ The task requires either Node v16 or Node v20 to run. The task does not support
5252

5353
* **SymbolsArtifactName**: Specify the artifact name to use for the Symbols artifact. The default is Symbols_$(BuildConfiguration)
5454

55+
## How to build task locally:
56+
57+
1) Create new branch from master
58+
2) Use Node v10.24.1 and npm v6.14.12 when building the task (you can use 'nvm' to quickly and easily switch between different Node versions)
59+
3) Update your changes
60+
4) Update "package.json" and "_buildConfigs/Node20/package.json" in ".\Tasks\PublishSymbolsV2\"
61+
5) Run command "npm i" at folder ".\Tasks\PublishSymbolsV2\
62+
6) Run command at root "npm i"
63+
7) Run command at root "node make.js build --task PublishSymbolsV2"
64+
8) Refer files generated at "_build" to test locally
65+
9) Check-in files changed from ".\Tasks\PublishSymbolsV2\" and files generated from "_generated". Do not checkin files from "_build"
66+
67+
5568
```yaml
5669

5770
Using PAT

Tasks/PublishSymbolsV2/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 247,
17-
"Patch": 10
17+
"Patch": 12
1818
},
1919
"minimumAgentVersion": "2.144.0",
2020
"groups": [

Tasks/PublishSymbolsV2/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 247,
17-
"Patch": 10
17+
"Patch": 12
1818
},
1919
"minimumAgentVersion": "2.144.0",
2020
"groups": [
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|2.247.10
2-
Node20_229_14|2.247.11
1+
Default|2.247.12
2+
Node20_229_14|2.247.13

_generated/PublishSymbolsV2/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ The task requires either Node v16 or Node v20 to run. The task does not support
5252

5353
* **SymbolsArtifactName**: Specify the artifact name to use for the Symbols artifact. The default is Symbols_$(BuildConfiguration)
5454

55+
## How to build task locally:
56+
57+
1) Create new branch from master
58+
2) Use Node v10.24.1 and npm v6.14.12 when building the task (you can use 'nvm' to quickly and easily switch between different Node versions)
59+
3) Update your changes
60+
4) Update "package.json" and "_buildConfigs/Node20/package.json" in ".\Tasks\PublishSymbolsV2\"
61+
5) Run command "npm i" at folder ".\Tasks\PublishSymbolsV2\
62+
6) Run command at root "npm i"
63+
7) Run command at root "node make.js build --task PublishSymbolsV2"
64+
8) Refer files generated at "_build" to test locally
65+
9) Check-in files changed from ".\Tasks\PublishSymbolsV2\" and files generated from "_generated". Do not checkin files from "_build"
66+
67+
5568
```yaml
5669

5770
Using PAT

_generated/PublishSymbolsV2/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 247,
17-
"Patch": 10
17+
"Patch": 12
1818
},
1919
"minimumAgentVersion": "2.144.0",
2020
"groups": [
@@ -249,7 +249,7 @@
249249
"NodeVersionSupport": "Node v{0} is no longer supported starting 08/31/2024. Please upgrade pipeline agent to latest version for Node 16 or later."
250250
},
251251
"_buildConfigMapping": {
252-
"Default": "2.247.10",
253-
"Node20_229_14": "2.247.11"
252+
"Default": "2.247.12",
253+
"Node20_229_14": "2.247.13"
254254
}
255255
}

_generated/PublishSymbolsV2/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 247,
17-
"Patch": 10
17+
"Patch": 12
1818
},
1919
"minimumAgentVersion": "2.144.0",
2020
"groups": [
@@ -249,7 +249,7 @@
249249
"NodeVersionSupport": "ms-resource:loc.messages.NodeVersionSupport"
250250
},
251251
"_buildConfigMapping": {
252-
"Default": "2.247.10",
253-
"Node20_229_14": "2.247.11"
252+
"Default": "2.247.12",
253+
"Node20_229_14": "2.247.13"
254254
}
255255
}

_generated/PublishSymbolsV2_Node20/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ The task requires either Node v16 or Node v20 to run. The task does not support
5252

5353
* **SymbolsArtifactName**: Specify the artifact name to use for the Symbols artifact. The default is Symbols_$(BuildConfiguration)
5454

55+
## How to build task locally:
56+
57+
1) Create new branch from master
58+
2) Use Node v10.24.1 and npm v6.14.12 when building the task (you can use 'nvm' to quickly and easily switch between different Node versions)
59+
3) Update your changes
60+
4) Update "package.json" and "_buildConfigs/Node20/package.json" in ".\Tasks\PublishSymbolsV2\"
61+
5) Run command "npm i" at folder ".\Tasks\PublishSymbolsV2\
62+
6) Run command at root "npm i"
63+
7) Run command at root "node make.js build --task PublishSymbolsV2"
64+
8) Refer files generated at "_build" to test locally
65+
9) Check-in files changed from ".\Tasks\PublishSymbolsV2\" and files generated from "_generated". Do not checkin files from "_build"
66+
67+
5568
```yaml
5669

5770
Using PAT

_generated/PublishSymbolsV2_Node20/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 247,
17-
"Patch": 11
17+
"Patch": 13
1818
},
1919
"minimumAgentVersion": "2.144.0",
2020
"groups": [
@@ -257,7 +257,7 @@
257257
"NodeVersionSupport": "Node v{0} is no longer supported starting 08/31/2024. Please upgrade pipeline agent to latest version for Node 16 or later."
258258
},
259259
"_buildConfigMapping": {
260-
"Default": "2.247.10",
261-
"Node20_229_14": "2.247.11"
260+
"Default": "2.247.12",
261+
"Node20_229_14": "2.247.13"
262262
}
263263
}

_generated/PublishSymbolsV2_Node20/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 247,
17-
"Patch": 11
17+
"Patch": 13
1818
},
1919
"minimumAgentVersion": "2.144.0",
2020
"groups": [
@@ -257,7 +257,7 @@
257257
"NodeVersionSupport": "ms-resource:loc.messages.NodeVersionSupport"
258258
},
259259
"_buildConfigMapping": {
260-
"Default": "2.247.10",
261-
"Node20_229_14": "2.247.11"
260+
"Default": "2.247.12",
261+
"Node20_229_14": "2.247.13"
262262
}
263263
}

0 commit comments

Comments
 (0)