From fa22fb32ef3480be128ccf6c915c33e541fd9331 Mon Sep 17 00:00:00 2001 From: Aleksandr Levochkin <107044793+aleksandrlevochkin@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:30:20 +0200 Subject: [PATCH] Prepare extension release v4.244.0 (#460) * Prepare tasks for test * Change service endpoint name * Revert testing changes * Rebuild tasks --------- Co-authored-by: v-levockina --- Tasks/GooglePlayIncreaseRolloutV2/task.json | 2 +- .../GooglePlayIncreaseRolloutV2/task.loc.json | 2 +- Tasks/GooglePlayPromoteV3/task.json | 2 +- Tasks/GooglePlayPromoteV3/task.loc.json | 2 +- Tasks/GooglePlayReleaseV4/task.json | 2 +- Tasks/GooglePlayReleaseV4/task.loc.json | 2 +- Tasks/GooglePlayStatusUpdateV2/task.json | 2 +- Tasks/GooglePlayStatusUpdateV2/task.loc.json | 2 +- azure-pipelines.yml | 19 +++++++++++++++++-- make-util.js | 2 +- package-lock.json | 12 ++++++------ package.json | 4 ++-- vsts-extension-google-play.json | 2 +- 13 files changed, 35 insertions(+), 20 deletions(-) diff --git a/Tasks/GooglePlayIncreaseRolloutV2/task.json b/Tasks/GooglePlayIncreaseRolloutV2/task.json index 746ceb0f..65bd9671 100644 --- a/Tasks/GooglePlayIncreaseRolloutV2/task.json +++ b/Tasks/GooglePlayIncreaseRolloutV2/task.json @@ -13,7 +13,7 @@ ], "version": { "Major": "2", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayIncreaseRolloutV2/task.loc.json b/Tasks/GooglePlayIncreaseRolloutV2/task.loc.json index 61a83b7e..82e23985 100644 --- a/Tasks/GooglePlayIncreaseRolloutV2/task.loc.json +++ b/Tasks/GooglePlayIncreaseRolloutV2/task.loc.json @@ -13,7 +13,7 @@ ], "version": { "Major": "2", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayPromoteV3/task.json b/Tasks/GooglePlayPromoteV3/task.json index e3790357..4e3be4cb 100644 --- a/Tasks/GooglePlayPromoteV3/task.json +++ b/Tasks/GooglePlayPromoteV3/task.json @@ -13,7 +13,7 @@ ], "version": { "Major": "3", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayPromoteV3/task.loc.json b/Tasks/GooglePlayPromoteV3/task.loc.json index 8335ed10..91fb5100 100644 --- a/Tasks/GooglePlayPromoteV3/task.loc.json +++ b/Tasks/GooglePlayPromoteV3/task.loc.json @@ -13,7 +13,7 @@ ], "version": { "Major": "3", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayReleaseV4/task.json b/Tasks/GooglePlayReleaseV4/task.json index 88591c9b..5e85cc30 100644 --- a/Tasks/GooglePlayReleaseV4/task.json +++ b/Tasks/GooglePlayReleaseV4/task.json @@ -14,7 +14,7 @@ "demands": [], "version": { "Major": "4", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayReleaseV4/task.loc.json b/Tasks/GooglePlayReleaseV4/task.loc.json index d62979e8..221aab05 100644 --- a/Tasks/GooglePlayReleaseV4/task.loc.json +++ b/Tasks/GooglePlayReleaseV4/task.loc.json @@ -14,7 +14,7 @@ "demands": [], "version": { "Major": "4", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayStatusUpdateV2/task.json b/Tasks/GooglePlayStatusUpdateV2/task.json index 1b7f8259..518e21a8 100644 --- a/Tasks/GooglePlayStatusUpdateV2/task.json +++ b/Tasks/GooglePlayStatusUpdateV2/task.json @@ -13,7 +13,7 @@ ], "version": { "Major": "2", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/Tasks/GooglePlayStatusUpdateV2/task.loc.json b/Tasks/GooglePlayStatusUpdateV2/task.loc.json index f3c89ecb..90b2c6da 100644 --- a/Tasks/GooglePlayStatusUpdateV2/task.loc.json +++ b/Tasks/GooglePlayStatusUpdateV2/task.loc.json @@ -13,7 +13,7 @@ ], "version": { "Major": "2", - "Minor": "243", + "Minor": "244", "Patch": "0" }, "minimumAgentVersion": "2.182.1", diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 921d7ff3..919de3e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,15 +7,18 @@ trigger: branches: include: - master + variables: - name: CodeQL.Enabled value: true + resources: repositories: - repository: 1ESPipelineTemplates type: git name: 1ESPipelineTemplates/1ESPipelineTemplates ref: refs/tags/release + extends: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates parameters: @@ -30,6 +33,7 @@ extends: os: linux customBuildTags: - ES365AIMigrationTooling + stages: - stage: stage jobs: @@ -42,31 +46,42 @@ extends: displayName: 'Publish Artifact: vsix' targetPath: '$(System.ArtifactsDirectory)' artifactName: vsix + steps: - checkout: self clean: true fetchTags: false + + - task: UseNode@1 + displayName: Use Node + inputs: + version: '20.14.0' + - task: Npm@1 name: Npm_1 displayName: npm install inputs: command: 'install' verbose: false + - task: CmdLine@2 displayName: Build inputs: script: node make.js build + - task: CmdLine@2 displayName: Run Tests inputs: script: node make.js test + - task: CmdLine@2 displayName: Create extension inputs: script: node make.js create + - task: CopyFiles@2 name: CopyFiles_5 - displayName: 'Copy Files to: $(build.artifactsdirectory)' + displayName: 'Copy Files to: $(System.ArtifactsDirectory)' inputs: Contents: '*.vsix' - TargetFolder: $(build.artifactsdirectory) + TargetFolder: $(System.ArtifactsDirectory) diff --git a/make-util.js b/make-util.js index ecbc5ac6..f299e452 100644 --- a/make-util.js +++ b/make-util.js @@ -1066,7 +1066,7 @@ exports.storeNonAggregatedZip = storeNonAggregatedZip; var installNodeAsync = async function (nodeVersion) { switch (nodeVersion || '') { case '20': - nodeVersion = 'v20.11.0'; + nodeVersion = 'v20.14.0'; break; case '16': nodeVersion = 'v16.17.1'; diff --git a/package-lock.json b/package-lock.json index db975133..5940b448 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "vso-android-extension", - "version": "4.235.0", + "version": "4.244.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vso-android-extension", - "version": "4.235.0", + "version": "4.244.0", "license": "MIT", "dependencies": { "@types/mocha": "5.2.7", "@types/mockery": "^1.4.29", - "@types/node": "^20.11.6", + "@types/node": "^20.14.0", "@types/sinon": "^4.0.0", "del": "^2.2.2", "minimatch": "3.0.5", @@ -117,9 +117,9 @@ "integrity": "sha1-m6It838H43gP/4Ux0aOOYz+UV6U=" }, "node_modules/@types/node": { - "version": "20.11.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.6.tgz", - "integrity": "sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q==", + "version": "20.14.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.0.tgz", + "integrity": "sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==", "dependencies": { "undici-types": "~5.26.4" } diff --git a/package.json b/package.json index 0b704e8a..dfbc799f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vso-android-extension", - "version": "4.235.0", + "version": "4.244.0", "description": "Provides build/release tasks that enable performing continuous delivery to the Google Play store from an automated VSTS build or release definition.", "repository": { "type": "git", @@ -15,7 +15,7 @@ "dependencies": { "@types/mocha": "5.2.7", "@types/mockery": "^1.4.29", - "@types/node": "^20.11.6", + "@types/node": "^20.14.0", "@types/sinon": "^4.0.0", "del": "^2.2.2", "minimatch": "3.0.5", diff --git a/vsts-extension-google-play.json b/vsts-extension-google-play.json index 454202e9..17398100 100644 --- a/vsts-extension-google-play.json +++ b/vsts-extension-google-play.json @@ -2,7 +2,7 @@ "manifestVersion": 1.0, "id": "google-play", "name": "Google Play", - "version": "4.243.0", + "version": "4.244.0", "publisher": "ms-vsclient", "description": "Provides tasks for continuous delivery to the Google Play Store from TFS/Team Services build or release definitions", "categories": [