Skip to content

Commit

Permalink
Add missing script (#5622)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktork authored Oct 31, 2023
1 parent 3d5cf24 commit 1c8f4aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eng/release/Scripts/SetTaskVariable.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
param(
[Parameter(Mandatory=$true)][string] $Name,
[Parameter(Mandatory=$false)][string] $Value
)

$ErrorActionPreference = 'Stop'
$VerbosePreference = 'Continue'
Set-StrictMode -Version 2.0

Write-Host "##vso[task.setvariable variable=$Name]$Value"

0 comments on commit 1c8f4aa

Please sign in to comment.