Skip to content

Commit

Permalink
NuGetAuthenticateV0 + NuGetCommandV2 + UniversalPackagesV0 Mask Auth …
Browse files Browse the repository at this point in the history
…+ Loc Fix (#20306)

* NuGetAuthenticateV0 Mask Auth

* NuGetCommandV2 Mask Auth

* UniversalPackageV0 Mask Auth + Loc Fix
  • Loading branch information
tintse-thxsky-MSFT authored Aug 16, 2024
1 parent d4842b2 commit aaaade6
Show file tree
Hide file tree
Showing 37 changed files with 3,767 additions and 315 deletions.
199 changes: 159 additions & 40 deletions Tasks/NuGetAuthenticateV0/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tasks/NuGetAuthenticateV0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/Microsoft/azure-pipelines-tasks#readme",
"dependencies": {
"azure-pipelines-tasks-artifacts-common": "2.202.0",
"azure-pipelines-tasks-artifacts-common": "2.244.2",
"azure-pipelines-task-lib": "^4.2.0",
"@types/node": "^16.11.39"
},
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NuGetAuthenticateV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"version": {
"Major": 0,
"Minor": 238,
"Minor": 244,
"Patch": 0
},
"deprecated": true,
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NuGetAuthenticateV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"version": {
"Major": 0,
"Minor": 238,
"Minor": 244,
"Patch": 0
},
"deprecated": true,
Expand Down
1,064 changes: 1,005 additions & 59 deletions Tasks/NuGetCommandV2/_buildConfigs/Node20/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tasks/NuGetCommandV2/_buildConfigs/Node20/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@types/node": "^20.3.1",
"azure-pipelines-task-lib": "^4.0.0-preview",
"azure-pipelines-tasks-packaging-common": "3.221.1",
"azure-pipelines-tasks-packaging-common": "3.242.2",
"azure-pipelines-tasks-utility-common": "^3.0.3",
"xmlreader": "^0.2.3"
},
Expand Down
1 change: 1 addition & 0 deletions Tasks/NuGetCommandV2/nugetpublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ async function getAccessToken(isInternalFeed: boolean, uriPrefixes: any): Promis
}
}
if (accessToken) {
tl.setSecret(accessToken);
return accessToken;
}
}
Expand Down
813 changes: 766 additions & 47 deletions Tasks/NuGetCommandV2/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tasks/NuGetCommandV2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@types/node": "^16.11.39",
"azure-pipelines-task-lib": "^4.0.0-preview",
"azure-pipelines-tasks-packaging-common": "3.221.1",
"azure-pipelines-tasks-packaging-common": "3.242.2",
"azure-pipelines-tasks-utility-common": "^3.0.3",
"xmlreader": "^0.2.3"
},
Expand Down
4 changes: 2 additions & 2 deletions Tasks/NuGetCommandV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 238,
"Patch": 3
"Minor": 244,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/NuGetCommandV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 238,
"Patch": 3
"Minor": 244,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/node": "^20.3.1",
"@types/uuid": "^8.3.0",
"azure-pipelines-task-lib": "^4.13.0",
"azure-pipelines-tasks-packaging-common": "^3.242.0",
"azure-pipelines-tasks-packaging-common": "^3.244.0",
"azure-pipelines-tasks-utility-common": "^3.238.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions Tasks/UniversalPackagesV0/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/UniversalPackagesV0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/node": "^16.11.39",
"@types/uuid": "^8.3.0",
"azure-pipelines-task-lib": "^4.13.0",
"azure-pipelines-tasks-packaging-common": "^3.242.0",
"azure-pipelines-tasks-packaging-common": "^3.244.0",
"azure-pipelines-tasks-utility-common": "^3.238.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/UniversalPackagesV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 0,
"Minor": 243,
"Minor": 244,
"Patch": 0
},
"runsOn": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/UniversalPackagesV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 0,
"Minor": 243,
"Minor": 244,
"Patch": 0
},
"runsOn": [
Expand Down
4 changes: 2 additions & 2 deletions _generated/NuGetCommandV2.versionmap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|2.238.3
Node20_229_1|2.238.4
Default|2.244.0
Node20_229_1|2.244.1
1 change: 1 addition & 0 deletions _generated/NuGetCommandV2/nugetpublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ async function getAccessToken(isInternalFeed: boolean, uriPrefixes: any): Promis
}
}
if (accessToken) {
tl.setSecret(accessToken);
return accessToken;
}
}
Expand Down
Loading

0 comments on commit aaaade6

Please sign in to comment.