Pipeline tasks for Azure DevOps Extensions
Перейти к файлу
dependabot[bot] 2f7b42814e Bump github/codeql-action from 3.27.0 to 3.27.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](662472033e...ea9e4e3799)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 09:44:54 +01:00
.github
BuildTasks
.env.example
.eslintignore
.eslintrc.js
.gitignore
.snyk
README.md
SECURITY.md
add-task.png
azure-pipelines.yml
foreach-task.ps1
license.txt
new-icons.psd
overview.md
package-lock.json
package.json
permissions.png
screenshot-packagetask.png
screenshot-pipeline.png
screenshot-tfsmarketplace.png
screenshot-vstsmarketplace.png
test-extensionversion.cmd
test-packaging.cmd
test-publishing.cmd
tools-icon.png
vss-extension.json

README.md

Azure DevOps Extension Tasks

Build: Build Status Release: Build Status

This extension provides build and release tasks for packaging and publishing Azure Devops Extensions to the Visual Studio Marketplace. There are also tasks to share and install your extension to your Azure Devops organization or Team Foundation Server.

To use

Learn more about this extension and install the extension into your Azure DevOps Organization via the Visual Studio Marketplace.

Available tasks

Azure DevOps

  • Package: package an Azure DevOps extension into an extension package (.VSIX) file
  • Publish: (optionally) package and publish an extension (either privately or publicly) to the Visual Studio Marketplace
  • Unpublish: unpublish an extension from the Visual Studio Marketplace
  • Share: share an extension with an Azure DevOps organization
  • Install: install an extension to an Azure DevOps organization
  • Query version: query an extension's version (to make it easy to increment on your next package or publish)
  • Wait for validation: waits for the Visual Studio Marketplace validation to come through.

Visual Studio

  • Publish: Publish a Visual Studio extension to the Visual Studio Marketplace

Required scopes

When creating a personal access token for use by your pipeline, make sure the token has at least the following scopes for the task(s) you are using:

  • Publish: All accessible organizations, Marketplace (publish)
  • Unpublish: All accessible organizations, Marketplace (manage)
  • Share: All accessible organizations, Marketplace (publish)
  • Install: All accessible organizations or a specific Organization, Extensions (read and manage), Marketplace (acquire)
  • Query Version: All accessible organizations, Marketplace (read)
  • Is Valid: All accessible organizations, Marketplace (read)

Permissions

Contribute

  1. From the root of the repo run npm run initdev. This will pull down the necessary modules and TypeScript declare files.
  2. Run npm run build to compile the build tasks.
  3. Run npm run package to create a .vsix extension package that includes the build tasks.