Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This extension contains Azure Pipelines tasks for automatically deploying your A
1. Navigate to the [Vercel Deployment Extension](https://marketplace.visualstudio.com/items?itemName=Vercel.vercel-deployment-extension) Visual Studio Marketplace page and add the extension to your organization.
> Note: This step will not work until the extension is shared with the user or we make the extension public.
1. With the extension added, you are now ready to use the tasks in your Azure Pipeline. The tasks are referable using `vercel-deployment-task` and `vercel-azdo-pr-comment-task`.
> Note: Within a pipeline definition, the tasks will be used like `- task: vercel-deployment-task@3`. The `@3` represents the Major version of the task that the pipeline should use. Make sure to indicate the latest major version of the task when creating your pipeline.
> Note: Within a pipeline definition, the tasks will be used like `- task: vercel-deployment-task@4`. The `@4` represents the Major version of the task that the pipeline should use. Make sure to indicate the latest major version of the task when creating your pipeline.

Explore the following pipeline guides for further set up instructions:

Expand Down Expand Up @@ -51,7 +51,7 @@ This short guide will demonstrate how the extension can be used to automatically
1. Now add the extension's task `vercel-deployment-task`:
```yaml
steps:
- task: vercel-deployment-task@3
- task: vercel-deployment-task@4
name: Deploy
inputs:
vercelProjectId: "<project-id>"
Expand Down Expand Up @@ -83,7 +83,7 @@ This guide will demonstrate how to improve the [Basic Pipeline Set Up](#basic-pi
```
1. Then add a new task step immediately after the `vercel-deployment-task` step, adding the PR commenting feature:
```yaml
- task: vercel-azdo-pr-comment-task@3
- task: vercel-azdo-pr-comment-task@4
inputs:
azureToken: $(AZURE_PAT)
deploymentTaskMessage: $(Deploy.deploymentTaskMessage)
Expand Down
4 changes: 2 additions & 2 deletions vercel-azdo-pr-comment-task-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
},
"license": "MIT",
"engines": {
"node": "^20.0.0"
"node": "^22.0.0"
},
"dependencies": {
"azure-devops-node-api": "12.0.0",
"azure-pipelines-task-lib": "4.3.1"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/node": "^22.0.0",
"typescript": "5.0.4"
}
}
5 changes: 4 additions & 1 deletion vercel-azdo-pr-comment-task-source/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Azure Pipelines",
"author": "Vercel",
"version": {
"Major": 3,
"Major": 4,
"Minor": 0,
"Patch": 0
},
Expand All @@ -36,6 +36,9 @@
},
"Node20_1": {
"target": "dist/index.js"
},
"Node22": {
"target": "dist/index.js"
}
}
}
4 changes: 2 additions & 2 deletions vercel-deployment-task-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
},
"license": "MIT",
"engines": {
"node": "^20.0.0"
"node": "^22.0.0"
},
"dependencies": {
"azure-devops-node-api": "12.0.0",
"azure-pipelines-task-lib": "4.3.1",
"undici": "5.22.1"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/node": "^22.0.0",
"@types/tap": "15.0.8",
"tap": "16.3.4",
"typescript": "5.0.4"
Expand Down
5 changes: 4 additions & 1 deletion vercel-deployment-task-source/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Azure Pipelines",
"author": "Vercel",
"version": {
"Major": 3,
"Major": 4,
"Minor": 0,
"Patch": 0
},
Expand Down Expand Up @@ -121,6 +121,9 @@
},
"Node20_1": {
"target": "dist/index.js"
},
"Node22": {
"target": "dist/index.js"
}
}
}
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"manifestVersion": 1,
"id": "vercel-deployment-extension",
"name": "Vercel Deployment Extension",
"version": "3.0.0",
"version": "4.0.0",
"publisher": "Vercel",
"public": true,
"targets": [
Expand Down