From 33db60f4917c023d5503c5108d79590580078417 Mon Sep 17 00:00:00 2001 From: Volodymyr Dombrovskyi Date: Sat, 15 Jun 2024 22:36:41 +0200 Subject: [PATCH] nuget metapackage --- .github/workflows/publish.yml | 2 +- Directory.Build.props | 2 +- .../StrongTypeIdGenerator.MetaPackage.csproj | 23 +++++++++++++++++++ StrongTypeIdGenerator.sln | 8 ++++++- .../StrongTypeIdGenerator.csproj | 3 +-- 5 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 StrongTypeIdGenerator.MetaPackage/StrongTypeIdGenerator.MetaPackage.csproj diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e5cf4e4..7e6ed0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,4 +23,4 @@ jobs: - name: Test run: dotnet test --no-build --verbosity normal - name: Publish - run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} + run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} -SkipDuplicate diff --git a/Directory.Build.props b/Directory.Build.props index ce725a3..0581157 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,7 +12,7 @@ - 1.0.0-rc0 + 1.0.0-rc1 Volodymyr Dombrovskyi Copyright (c) 2024 Volodymyr Dombrovskyi https://github.com/dombrovsky/StrongTypeIdGenerator.git diff --git a/StrongTypeIdGenerator.MetaPackage/StrongTypeIdGenerator.MetaPackage.csproj b/StrongTypeIdGenerator.MetaPackage/StrongTypeIdGenerator.MetaPackage.csproj new file mode 100644 index 0000000..4287ed0 --- /dev/null +++ b/StrongTypeIdGenerator.MetaPackage/StrongTypeIdGenerator.MetaPackage.csproj @@ -0,0 +1,23 @@ + + + + netstandard2.0;net6.0;net7.0;net8.0 + StrongTypeIdGenerator + StrongTypeIdGenerator + true + false + false + NU5128 + + + + + + + + + + + + + diff --git a/StrongTypeIdGenerator.sln b/StrongTypeIdGenerator.sln index f3e73eb..3200d49 100644 --- a/StrongTypeIdGenerator.sln +++ b/StrongTypeIdGenerator.sln @@ -17,7 +17,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StrongTypeIdGenerator.Tests EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StrongTypeIdGenerator.Abstractions", "StrongTypeIdGenerator.Abstractions\StrongTypeIdGenerator.Abstractions.csproj", "{D6F45F02-A86A-4336-8CA1-273C0163CA55}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StrongTypeIdGenerator.Json", "StrongTypeIdGenerator.Json\StrongTypeIdGenerator.Json.csproj", "{C05022B2-BE8F-45E1-8783-D738E1995E1D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StrongTypeIdGenerator.Json", "StrongTypeIdGenerator.Json\StrongTypeIdGenerator.Json.csproj", "{C05022B2-BE8F-45E1-8783-D738E1995E1D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StrongTypeIdGenerator.MetaPackage", "StrongTypeIdGenerator.MetaPackage\StrongTypeIdGenerator.MetaPackage.csproj", "{371E81D4-0FB7-4479-A381-C58F3ACD9C91}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -41,6 +43,10 @@ Global {C05022B2-BE8F-45E1-8783-D738E1995E1D}.Debug|Any CPU.Build.0 = Debug|Any CPU {C05022B2-BE8F-45E1-8783-D738E1995E1D}.Release|Any CPU.ActiveCfg = Release|Any CPU {C05022B2-BE8F-45E1-8783-D738E1995E1D}.Release|Any CPU.Build.0 = Release|Any CPU + {371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Debug|Any CPU.Build.0 = Debug|Any CPU + {371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Release|Any CPU.ActiveCfg = Release|Any CPU + {371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/StrongTypeIdGenerator/StrongTypeIdGenerator.csproj b/StrongTypeIdGenerator/StrongTypeIdGenerator.csproj index 1f53e80..51ead25 100644 --- a/StrongTypeIdGenerator/StrongTypeIdGenerator.csproj +++ b/StrongTypeIdGenerator/StrongTypeIdGenerator.csproj @@ -7,6 +7,7 @@ Generated true true + StrongTypeIdGenerator.SourceGenerator @@ -17,12 +18,10 @@ - all runtime; build; native; contentfiles; analyzers; buildtransitive -