Skip to content

Commit

Permalink
Merge pull request #168 from CommunityToolkit/fix/pack-script
Browse files Browse the repository at this point in the history
Hotfix: pack script now runs from any directory
  • Loading branch information
Arlodotexe authored Feb 12, 2024
2 parents 03d01be + bf92b90 commit c0b00f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/PackEachExperiment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Param (
[string]$postfix
)

foreach ($experimentProjPath in Get-ChildItem -Recurse -Path '../../components/*/src/*.csproj') {
foreach ($experimentProjPath in Get-ChildItem -Recurse -Path "$PSScriptRoot/../../components/*/src/*.csproj") {
& msbuild.exe -t:pack /p:Configuration=Release /p:DebugType=Portable /p:DateForVersion=$date /p:PreviewVersion=$postfix $experimentProjPath
}

0 comments on commit c0b00f6

Please sign in to comment.