-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Specify selective package(s) to update (#85)
* feat: Specify package(s) to update
- Loading branch information
1 parent
4d1c02a
commit d0e7dad
Showing
22 changed files
with
450 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: docs | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update-docs: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.x.x | ||
- name: Update README | ||
run: dotnet run -- update-README --parallel | ||
working-directory: tools/Build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Option to update only specified package(s). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ts/UpdaterTests.Given_PackageAndExcludedPackage_When_Update_Then_ExcludeWins.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
31 changes: 31 additions & 0 deletions
31
...eAndExcludedPackage_When_Update_Then_ExcludeWins_packages=Dummy.- Dummy.Tool.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[ | ||
[] | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.1" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.1" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
] |
42 changes: 42 additions & 0 deletions
42
...AndExcludedPackage_When_Update_Then_ExcludeWins_packages=Dummy.- Microsoft.-.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
[ | ||
{ | ||
PackageId: Dummy.Tool, | ||
Updates: [ | ||
{ | ||
Item1: 0.0.1, | ||
Item2: 0.0.2, | ||
Item3: src\Dummy.App.csproj | ||
} | ||
] | ||
} | ||
] | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.1" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.2" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
] |
1 change: 1 addition & 0 deletions
1
...sts.Given_Packages_When_Update_Then_OnlyUpdateThatPackages_excludedPackages=.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
...When_Update_Then_OnlyUpdateThatPackages_excludedPackages=Dummy.--Microsoft.-.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
...kages_When_Update_Then_OnlyUpdateThatPackages_excludedPackages=Dummy.--has.-.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
...en_Packages_When_Update_Then_OnlyUpdateThatPackages_excludedPackages=Dummy.-.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
1 change: 1 addition & 0 deletions
1
...ackages_When_Update_Then_OnlyUpdateThatPackages_excludedPackages=Microsoft.-.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
52 changes: 52 additions & 0 deletions
52
...pdaterTests.Given_Packages_When_Update_Then_OnlyUpdateThatPackages_packages=.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[ | ||
[ | ||
{ | ||
PackageId: Dummy.Tool, | ||
Updates: [ | ||
{ | ||
Item1: 0.0.1, | ||
Item2: 0.0.2, | ||
Item3: src\Dummy.App.csproj | ||
} | ||
] | ||
}, | ||
{ | ||
PackageId: Has.Previews, | ||
Updates: [ | ||
{ | ||
Item1: 0.0.1, | ||
Item2: 0.0.2, | ||
Item3: src\Dummy.App.csproj | ||
} | ||
] | ||
} | ||
] | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.1" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.2" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.2" /> | ||
</ItemGroup> | ||
</Project> | ||
] |
42 changes: 42 additions & 0 deletions
42
...ackages_When_Update_Then_OnlyUpdateThatPackages_packages=Dummy.--Microsoft.-.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
[ | ||
{ | ||
PackageId: Dummy.Tool, | ||
Updates: [ | ||
{ | ||
Item1: 0.0.1, | ||
Item2: 0.0.2, | ||
Item3: src\Dummy.App.csproj | ||
} | ||
] | ||
} | ||
] | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.1" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Dummy.Tool" Version="0.0.2" /> | ||
<PackageReference Include="Has.Previews" Version="0.0.1" /> | ||
</ItemGroup> | ||
</Project> | ||
] |
Oops, something went wrong.