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.
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
Install the latest GitReleaseManager 0.18.x version.
steps:
- task: gitreleasemanager/[email protected]
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.18.x'
Install specific GitReleaseManager version 0.18.0.
steps:
- task: gitreleasemanager/[email protected]
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.18.0'
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