Skip to content

Commit

Permalink
Correct passing a tag to the Sync-ALZPolicies.ps1 script (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
oWretch authored Feb 20, 2025
1 parent 53f5ff5 commit 17efcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/CloudAdoptionFramework/Sync-ALZPolicies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Param(
[string] $DefinitionsRootFolder,

[Parameter(Mandatory = $false)]
[ValidateScript({ ($_ -eq 'latest') -or ($_.StartsWith("tag/")) }, ErrorMessage = "Allowed values are 'latest' and 'tag/TAG_NAME'")]
[ValidateScript({ ($_ -eq 'latest') -or ($_.StartsWith("tags/")) }, ErrorMessage = "Allowed values are 'latest' and 'tags/TAG_NAME'")]
[string] $GithubRelease = 'latest',

[Parameter(Mandatory = $false)]
Expand Down

0 comments on commit 17efcec

Please sign in to comment.