Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.45 KB

File metadata and controls

61 lines (47 loc) · 1.45 KB

Setup GitReleaseManager Task (gitreleasemanager/setup) Usage Examples

Find out how to use the gitreleasemanager/setup task using the examples below.

The examples use version 3.0.0 of the GitReleaseManager Setup task. It is recommended to use the latest released version in your own workflows.

Inputs

The Setup GitReleaseManager action accepts the following inputs:

versionSpec:
  description: Required version in the form of 0.18.x or exact version like 0.18.0.
  required: true
  default: ''
includePrerelease:
  description: Include pre-release versions when matching a version.
  required: false
  default: false
ignoreFailedSources:
  description: Treat package source failures as warnings.
  required: false
  default: false

Example 1

Install the latest GitReleaseManager 0.18.x version.

steps:
  - task: gitreleasemanager/[email protected]
    displayName: Install GitReleaseManager
    inputs:
      versionSpec: '0.18.x'

Example 2

Install specific GitReleaseManager version 0.18.0.

steps:
  - task: gitreleasemanager/[email protected]
    displayName: Install GitReleaseManager
    inputs:
      versionSpec: '0.18.0'

Example 3

Install the latest GitReleaseManager 0.18.x version even it there is a cached version matching the versionSpec.

steps:
  - task: gitreleasemanager/[email protected]
    displayName: Install GitReleaseManager
    inputs:
      versionSpec: '0.18.x'
      preferLatestVersion: true