mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-18 07:46:45 +00:00
Another mop up commit to add missing changes from the last mop-up.
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
################################################################################
|
||||
## File: Validate-GitVersion.ps1
|
||||
## Desc: Validate GitVersion
|
||||
################################################################################
|
||||
|
||||
$command = Get-Command -Name 'gitversion'
|
||||
if ($command)
|
||||
{
|
||||
Write-Host "gitversion on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'gitversion is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "GitVersion"
|
||||
$version = $command.Version.ToString()
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
################################################################################
|
||||
## File: Validate-GitVersion.ps1
|
||||
## Desc: Validate GitVersion
|
||||
################################################################################
|
||||
|
||||
$command = Get-Command -Name 'gitversion'
|
||||
if ($command)
|
||||
{
|
||||
Write-Host "gitversion on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'gitversion is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "GitVersion"
|
||||
$version = $command.Version.ToString()
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user