From 464c7fcf889ceecb980e918a8b673cddf9a4b939 Mon Sep 17 00:00:00 2001 From: Andrey Ivanov Date: Tue, 30 Aug 2022 16:20:01 +0200 Subject: [PATCH 1/2] bump version --- node/package-lock.json | 4 ++-- node/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node/package-lock.json b/node/package-lock.json index 5437083b5..1ea78d9a9 100644 --- a/node/package-lock.json +++ b/node/package-lock.json @@ -1,12 +1,12 @@ { "name": "azure-pipelines-task-lib", - "version": "4.0.0-preview", + "version": "4.0.1-preview", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "azure-pipelines-task-lib", - "version": "4.0.0-preview", + "version": "4.0.1-preview", "license": "MIT", "dependencies": { "minimatch": "3.0.5", diff --git a/node/package.json b/node/package.json index c56ab659f..f57cd30aa 100644 --- a/node/package.json +++ b/node/package.json @@ -1,6 +1,6 @@ { "name": "azure-pipelines-task-lib", - "version": "4.0.0-preview", + "version": "4.0.1-preview", "description": "Azure Pipelines Task SDK", "main": "./task.js", "typings": "./task.d.ts", From f23d216f44311aacd0cf5dca0c3e5bc9d42db601 Mon Sep 17 00:00:00 2001 From: Andrey Ivanov Date: Thu, 1 Sep 2022 09:39:10 +0200 Subject: [PATCH 2/2] fix npm publish --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2c430a0ce..0be4fca18 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -79,7 +79,7 @@ jobs: npm publish || true # Ignore publish failures, usually will happen because package already exists displayName: (azure-pipelines-task-lib) npm publish workingDirectory: node - condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), in(variables['build.sourcebranchname'], 'master', 'releases/4.x')) + condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), in(variables['build.sourcebranchname'], 'master', '4.x')) env: NPM_TOKEN: $(npmPublishToken)