Skip to content

Commit b94440b

Browse files
committed
fixing issue with script
1 parent 95e40f4 commit b94440b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Scripts/CreateReviewCodePRs.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is used to create PRs against a number of forked public repos so that csharpier can be run against them
1+
# This is used to create PRs against a number of forked public repos so that csharpier can be run against them
22
# and the formatting reviewed before releasing csharpier
33
# Long term this process can probably go away, but for now it is a tolerable way to find edge cases or bugs that are introduced
44

@@ -24,9 +24,10 @@ if ($version -eq "") {
2424
exit 1
2525
}
2626

27+
$csharpierProject = "C:\Projects\csharpier"
2728
$csharpierRepos = "C:\Projects\csharpierForkedRepos"
2829

29-
& dotnet build $csharpierRepo\Src\CSharpier\CSharpier.csproj -c Release
30+
& dotnet build $csharpierProject\Src\CSharpier\CSharpier.csproj -c Release
3031

3132
$versionWithQuotes = "`"" + $version + "`"";
3233

@@ -42,7 +43,7 @@ foreach($folder in Get-ChildItem $csharpierRepos) {
4243
& git branch -d $version
4344
& git checkout -b $version
4445

45-
dotnet $csharpierRepo\Src\CSharpier\bin\Release\net5.0\dotnet-csharpier.dll
46+
dotnet $csharpierProject\Src\CSharpier\bin\Release\net5.0\dotnet-csharpier.dll
4647

4748
& git add -A
4849
& git commit -m $versionWithQuotes

0 commit comments

Comments
 (0)