All Projects β†’ marceloavf β†’ github-tools-vsts

marceloavf / github-tools-vsts

Licence: MIT license
πŸ“¦πŸš€ Create and modify GitHub Releases in Azure DevOps Build and Release Management

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to github-tools-vsts

gl-vsts-tasks-file-patch
Visual Studio Team Services Build and Release Management extensions that help you update files using JSON patch and similar syntax
Stars: ✭ 21 (-12.5%)
Mutual labels:  vsts, vsts-extension
FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+525%)
Mutual labels:  vsts, vsts-extension
azure-flutter-tasks
Easily build and deploy with latest Flutter build tasks for Azure DevOps Pipelines Tasks
Stars: ✭ 66 (+175%)
Mutual labels:  vsts, vsts-extension
vsts-extension-ts-seed-simple
Very simple seed project for developing a VSTS extension
Stars: ✭ 61 (+154.17%)
Mutual labels:  vsts, vsts-extension
AzureDevOps-WSJF-Extension
Sample work item form extension that auto calculates WSJF (weighted shortest job first) per work item and stores it in a work item field
Stars: ✭ 21 (-12.5%)
Mutual labels:  vsts, vsts-extension
rust-azure-devops
[No longer maintain] πŸ¦€ Rust extension for Azure DevOps
Stars: ✭ 26 (+8.33%)
Mutual labels:  vsts, vsts-extension
wiql-editor
Search work items with wiql queries.
Stars: ✭ 30 (+25%)
Mutual labels:  vsts, vsts-extension
vsts-extension-multivalue-control
A work item form control which allows selection of multiple values.
Stars: ✭ 40 (+66.67%)
Mutual labels:  vsts, vsts-extension
NewmanPostman VSTS Task
A task for Azure DevOps Pipelines to run newman tests.
Stars: ✭ 31 (+29.17%)
Mutual labels:  vsts, vsts-extension
gl-vsts-tasks-yarn
Yarn Package Manager Visual Studio Team Services Build and Release Management extensions
Stars: ✭ 50 (+108.33%)
Mutual labels:  vsts, vsts-extension
vsts-extension-color-control
This is an example of a custom control extension for use in on-premise instances of Visual Studio Team Services on the work item form.
Stars: ✭ 16 (-33.33%)
Mutual labels:  vsts, vsts-extension
az-devops-rice-extension
Azure DevOps extension that auto calculates RICE and stores it in a field.
Stars: ✭ 15 (-37.5%)
Mutual labels:  vsts, vsts-extension
Fluttergames
Flutter app for purchasing and renting games.
Stars: ✭ 182 (+658.33%)
Mutual labels:  marketplace
vst-cmake
A cross-platform CMake-based template for designing VST audio plug-ins.
Stars: ✭ 21 (-12.5%)
Mutual labels:  vsts
Sharetribe
Sharetribe Go is a source available marketplace software, also available as a hosted, no-code SaaS product. For a headless, API-first marketplace solution, check out Sharetribe Flex: https://www.sharetribe.com/flex.
Stars: ✭ 2,184 (+9000%)
Mutual labels:  marketplace
Marketplace
The fluent laravel marketplace
Stars: ✭ 164 (+583.33%)
Mutual labels:  marketplace
AzureDevOpsPowershell
A selection of PowerShell scripts that make use of the Azure DevOps (TFS/VSTS) APIs
Stars: ✭ 34 (+41.67%)
Mutual labels:  vsts
sitecore-azure-devops
Sitecore 8.2u5 DevOps Scripts
Stars: ✭ 15 (-37.5%)
Mutual labels:  vsts
Aimeos Typo3
TYPO3 e-commerce extension for professional, ultra fast online shops, complex B2B applications and #gigacommerce
Stars: ✭ 157 (+554.17%)
Mutual labels:  marketplace
Dokan
Multivendor marketplace platform
Stars: ✭ 146 (+508.33%)
Mutual labels:  marketplace

GitHub Tools
GitHub Tool

Create and modify GitHub Releases. For Azure DevOps Builds and Releases.

GitHub Tool Task provide full implementation to Create and Modify GitHub Release to Azure DevOps Build and Release Management. Learn More

PRs Welcome with-coffee semantic-release Visual Studio Team services GitHub release VS Marketplace Version VS Marketplace Installs

Tasks included

create-modify-release

task-create-modify-release

Options include:

  • GitHub Connection: Connect to a service endpoint for your GitHub Connection. More Info.
  • Repository: List all repositories based on Endpoint. If empty, it will be extracted from manifest file.
  • Tag: Create a tag to release. If empty, the version will be extracted from manifest file.
  • Release Title: Create a title to release. If empty, it will be the same as tag.
  • Release Notes: Create a note to release. If empty, it will be left undefined.
  • Draft: Check to release tagged as Draft.
  • Pre Release: Check to release tagged as Pre Release.
  • Ignore Assets: Check to skip upload assets to release.
  • Files to Upload as Assets: Include files to upload as artifacts to release. Minimatch pattern are supported.
  • Manifest JSON: Include the manifest file from which default values will be extracted if options are missing. More Info.

Advanced Options include:

  • Reuse Release: Check to allow to reuse a release with the same tag.
  • Reuse only Draft Release: Check to allow to reuse only draft release. Prevents from editing already published releases.
  • Skip Duplicated Assets: Check to prevent the plugin to replace assets with the same name.
  • Edit Release Check to allow to edit release name, notes, type (draft, prerelease, release) and target commitsh. More Info.
  • Delete Empty Tag Check to delete tag if it's editing release type from prerelease or release to draft.
  • Target Commitsh: Specifies the commitsh value that determines where the Git tag is created from. Can be any branch or commit SHA. Defaults to the default branch of the repository.
  • API URL: Allow to use a custom API URL to connect to GitHub Enterprise instead of github.com. Defaults to 'https://api.github.com'.

Modify will only be valid if the release has the same tag as the other one, and you have to allow Reuse Release or/and Reuse only Draft Release

Modify

Overwrite assets

  1. The release tag option should have the same tag of the release you want to change.
  2. The assets should have the same name to replace.
  3. Leave unchecked Skip Duplicated Assets inside Advanced options.

Edit release

This option allow to edit release properties based on tag name, changing the release name, notes, type (draft, prerelease, release) and target commitsh.

  1. The release tag option should have the same tag of the release you want to change.
  2. Write different name, notes, target commitsh or change the type of the release.
  3. Check Edit Release inside Advanced options.

Tip: Delete Empty Tag option allow to prevent an empty tag (without release) by deleting it when you edit release type from prerelease or release to draft

More details

Manifest file

The manifest is a json file (commonly called package.json) that include some information about your application, the GitHub Tool can extract these information when you indicate in Manifest JSON field where json file is located. Your json should be like this example below.

{ 
   "version": "2.0.0", 
   "repository": { 
     "type": "git", 
     "url": "https://github.com/owner/repo" 
  } 
} 

GitHub Connection

This option is one of the mandatory fields to allow GitHub Tool interact with GitHub API. For this, you have two options to create this connection:

1. Authorize using OAuth

This service provides you direct and fast connection with GitHub authentication. If you need to modify some access and grant new authorizations you will have to access your GitHub acoount, go to Settings > Applications > Authorized OAuth Apps, found Azure Pipelines (OAuth) and modify permissions and organization access.

2. Authorize with a GitHub personal access token

This option needs a personal access token from GitHub, you can create it by going to your GitHub account, Settings > Developer settings > Personal access tokens and click on Generate New Token.

Scope Description
repo Allow access to private repositories
public_repo Allow access to public repositories

Creating service endpoints

Service endpoints can be created from the Azure Devops project dashboard, login and go to Project Settings > Service connections > New service connection. Select Github from the list. Chose authentication method (e.g. OAuth or Personal Access Token). Then Authorsize, then Complete other details and finall Save.

Why?

I was disappointed with all the current GitHub extensions tools solutions. Most of them don't have most of the options GitHub can provide and don't are maintained anymore. So, I found publish-release repository with almost every option that I need, helped them to finish some issues and use that to create this extension for Azure DevOps Releases and Builds.

Install the extension to your account

You can find the latest stable version of the Azure DevOps Extension tasks on the Visual Studio Marketplace.

Debug

Please refer to our debug wiki page

Contribute

Contributions, issues and feature requests are very welcome. Please make sure to read the Contributing Guide before making a pull request.

Known Issues

Please refer to our wiki page

Contributors

Thanks goes to these wonderful people (emoji key):


Marcelo FormentΓ£o

πŸ’» 🎨 πŸ“– πŸ€” πŸš‡

Heath Stewart

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].