From a46bb9421e6ab700f81ce096109d18500d71670c Mon Sep 17 00:00:00 2001 From: Byron Mayne Date: Sun, 12 May 2024 20:32:30 -0400 Subject: [PATCH 1/4] Removed the forcefully added Microsoft.CodeAnalysis.CSharp reference --- .../SourceGenerator.Foundations.props | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/SourceGenerator.Foundations/SourceGenerator.Foundations.props b/src/SourceGenerator.Foundations/SourceGenerator.Foundations.props index 1a4c9c5..c5f3e05 100644 --- a/src/SourceGenerator.Foundations/SourceGenerator.Foundations.props +++ b/src/SourceGenerator.Foundations/SourceGenerator.Foundations.props @@ -21,11 +21,9 @@ - - SGF/%(RecursiveDir)%(Filename)%(Extension) From b5d71313c9e73806be0b8d28a4b56545b743f34e Mon Sep 17 00:00:00 2001 From: Byron Mayne Date: Sun, 12 May 2024 20:35:44 -0400 Subject: [PATCH 2/4] Added the missing icon reference --- .../SourceGenerator.Foundations.csproj | 3 --- src/SourceGenerator.Foundations/icon.ico | Bin 0 -> 9120 bytes 2 files changed, 3 deletions(-) create mode 100644 src/SourceGenerator.Foundations/icon.ico diff --git a/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj b/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj index 44e113e..c4a3e77 100644 --- a/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj +++ b/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj @@ -10,9 +10,6 @@ icon.ico icon.png - - - diff --git a/src/SourceGenerator.Foundations/icon.ico b/src/SourceGenerator.Foundations/icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..503e2ec8c1c0c5bfa53b806f0d41af940dd84288 GIT binary patch literal 9120 zcmbulbx<5n^e;NQu&}thJ1i0cBoH9z;%)&FG!O!W;I6y41_%&Ha0wQi2thY^fFMDG zF76Il2zK{->;7@;RlRyu?>AG^(^cKmea>gPPM`jq0{|fG{oe%w*nxO10HDRzBQFA)JZ za!>sI$Ci&HdLU!x4nSr=@Kc?ahx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@( zOZAHhUQM$?KDjz_82u11x$$=zWYt+TIeSeloB213*Qvci?^I26r1uxgdUf%2n% zqSCz#~Vj&!t}y188QhsrnUqFe*h>|>cwqrxC#Jw3=GM2ed46Jp(?j2a#V z`u>!1^Uqn*;LqEeQ3B`^?l3NFkQ>1D=d*S8^7^sMm{HaHwg^UjazFeDzbCFO=g^wi zBUfm|(-<`vc=oOIl8CzBW5Oghyb3Kn4hv3Z6V*OBLMdE6L1Xj0>Pn4n0+z}99!1@+ zS*ueP$T7m`)5ve6bFaz{LEdv@>x?NflOA++vF<-#Ixbx5;N$d>yW+kTtAvsdJG0>| zX83pt_Tv=vw1B=8&Rj4NG~x{Y(zg-mzsen`My;|lDeRK}ofsX@hF{{|z9Yr5Y0IQ0 zcargbIE2JnSKlKDyf}OhtJ!M4iHMT`Z}8u6%?qy+Y@3pLE#2jMC{S%}Lb*D@hB^UD zV4dR&UK+Ojf~e;=f|=QQi~S0nHzaJcMeU{yRJc}d)-T^cGv)pj5iUN>tWBRh8(Ur6 z-f5|Z+H12pU{fLf-?JjJPU_plK`l_G;Pih*8NKNd#B<++=O5xDqE+TXbJ19W+ozgdSd>k*(m=foh4-I4y0d~pXqp6?upH@0W?%};WbJ&;r|QpDbX(g literal 0 HcmV?d00001 From f8a5865d7b84d288bc06c6b03c3178fdf5f95f50 Mon Sep 17 00:00:00 2001 From: Byron Mayne Date: Mon, 13 May 2024 18:41:25 -0400 Subject: [PATCH 3/4] Fixed the nuget package icon not being bound --- src/Directory.Build.props | 6 ++++++ src/Nuget.Build.props | 6 +++++- .../SourceGenerator.Foundations.csproj | 6 ------ src/SourceGenerator.Foundations/icon.ico | Bin 9120 -> 0 bytes 4 files changed, 11 insertions(+), 7 deletions(-) delete mode 100644 src/SourceGenerator.Foundations/icon.ico diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 3d861d5..8f6aa70 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -6,6 +6,12 @@ SGF true $(MSBuildThisFileDirectory) + $(MSBuildThisFileDirectory)..\img\ + $(MSBuildThisFileDirectory)..\img\icon.png + + $(MSBuildThisFileDirectory)..\img\icon.ico + + $(SGFSourceDir)SourceGenerator.Foundations\ $(SGFProjectDir)SourceGenerator.Foundations.csproj diff --git a/src/Nuget.Build.props b/src/Nuget.Build.props index a28ec08..01a5772 100644 --- a/src/Nuget.Build.props +++ b/src/Nuget.Build.props @@ -5,7 +5,8 @@ ===============================--> Source Generator Foundations - Byron Mayne + Byron Mayne + SgfIcon.png Provides boilerplate code to be used by source generators. Provides the ability to have nuget packages that are resolvable at runtime as well as much better exception handling. https://github.dev/ByronMayne/SourceGenerator.Foundations README.md @@ -21,6 +22,9 @@ + + /$(PackageIcon) + lib/netstandard2.0/SourceGenerator.Foundations.Contracts.dll diff --git a/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj b/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj index c4a3e77..0601463 100644 --- a/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj +++ b/src/SourceGenerator.Foundations/SourceGenerator.Foundations.csproj @@ -7,8 +7,6 @@ 11 true $(TargetsForTfmSpecificContentInPackage);CustomNugetPack - icon.ico - icon.png @@ -16,10 +14,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - True - \ - diff --git a/src/SourceGenerator.Foundations/icon.ico b/src/SourceGenerator.Foundations/icon.ico deleted file mode 100644 index 503e2ec8c1c0c5bfa53b806f0d41af940dd84288..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9120 zcmbulbx<5n^e;NQu&}thJ1i0cBoH9z;%)&FG!O!W;I6y41_%&Ha0wQi2thY^fFMDG zF76Il2zK{->;7@;RlRyu?>AG^(^cKmea>gPPM`jq0{|fG{oe%w*nxO10HDRzBQFA)JZ za!>sI$Ci&HdLU!x4nSr=@Kc?ahxn7#f9Jp+%!&VT1rx$KUCrD+R58O&>P(7D_k!<}O2e zK~x3ZTA%y~>InTUM$gvaK%{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Vj&!t}y188QhsrnUqFe*h>|>cwqrxC#Jw3=GM2ed46Jp(?j2a#V z`u>!1^Uqn*;LqEeQ3B`^?l3NFkQ>1D=d*S8^7^sMm{HaHwg^UjazFeDzbCFO=g^wi zBUfm|(-<`vc=oOIl8CzBW5Oghyb3Kn4hv3Z6V*OBLMdE6L1Xj0>Pn4n0+z}99!1@+ zS*ueP$T7m`)5ve6bFaz{LEdv@>x?NflOA++vF<-#Ixbx5;N$d>yW+kTtAvsdJG0>| zX83pt_Tv=vw1B=8&Rj4NG~x{Y(zg-mzsen`My;|lDeRK}ofsX@hF{{|z9Yr5Y0IQ0 zcargbIE2JnSKlKDyf}OhtJ!M4iHMT`Z}8u6%?qy+Y@3pLE#2jMC{S%}Lb*D@hB^UD zV4dR&UK+Ojf~e;=f|=QQi~S0nHzaJcMeU{yRJc}d)-T^cGv)pj5iUN>tWBRh8(Ur6 z-f5|Z+H12pU{fLf-?JjJPU_plK`l_G;Pih*8NKNd#B<++=O5xDqE+TXbJ19W+ozgdSd>k*(m=foh4-I4y0d~pXqp6?upH@0W?%};WbJ&;r|QpDbX(g From bfd84242d7b3ba853176aa2a8fdb20c518ab6a54 Mon Sep 17 00:00:00 2001 From: Byron Mayne Date: Mon, 13 May 2024 18:57:32 -0400 Subject: [PATCH 4/4] Changed the ci to only publish on a release --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a83fb6..2256082 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: Publish on: release: types: [published] - push: {} pull_request: {} env: @@ -40,4 +39,5 @@ jobs: run: dotnet pack src\SourceGenerator.Foundations\SourceGenerator.Foundations.csproj -p:Version=${{env.GitVersion_AssemblySemVer}} -p:PackageVersion=${{env.GitVersion_FullSemVer}} # -- Release Only -- - name: Push NuGet + if: github.event_name == 'release' run: dotnet nuget push ${{env.ProjectDir}}bin\${{env.Configuration}}\*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json