mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-06-28 15:30:17 +08:00
change set version script to use correct path
rather than directory relative to the working directory use the path relative to the tools folder.
This commit is contained in:
parent
f2d94413dc
commit
25b6f1d46d
@ -3,7 +3,9 @@ param (
|
||||
[string]$version
|
||||
)
|
||||
|
||||
$projs = Get-ChildItem "../src" -Recurse | Where-Object { $_.extension -eq ".csproj" -and $_.name.IndexOf("Tests") -lt 0 }
|
||||
$root = (Split-Path -parent $PSCommandPath)
|
||||
|
||||
$projs = Get-ChildItem "$root/../src" -Recurse | Where-Object { $_.extension -eq ".csproj" -and $_.name.IndexOf("Tests") -lt 0 }
|
||||
$projs | ForEach-Object {
|
||||
$xml = New-Object XML
|
||||
$xml.Load($_.FullName)
|
||||
|
Loading…
Reference in New Issue
Block a user