Helper/Update-BCDevSvgTag.ps1
function Update-BCDevSvgTag { param ( [Parameter(Position=0, Mandatory=$true)] [string]$SVGFile, [Parameter(Position=1, Mandatory=$true)] [string]$Version ) $svg = Get-Content -Path $SVGFile -Raw $svg = $svg -Replace 'X.Y.Z.0', $Version $svg | Set-Content $SVGFile -Force Write-Verbose "Inserting version $Version" } Export-ModuleMember -Function Update-BCDevSvgTag |