From b9e27d8a02b77e3a71f8d1cb6808c7a5a81cd89f Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Sat, 6 Apr 2024 13:23:10 +0200 Subject: [PATCH 1/2] release notes --- Templates.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Templates.csproj b/Templates.csproj index 09c83b0..0234ebd 100644 --- a/Templates.csproj +++ b/Templates.csproj @@ -12,8 +12,8 @@ - 0.3.0-beta - Template erstellt zur Erstellung einer GitHub-Action für die automatische Veröffentlichung von NuGet-Paketen. + 0.3.0-beta.1 + Korrektur: Workflow-Vorlage übernimmt korrekt den Bibliotheks-Namen in den Kurmann-Namespace. README.md From ef3c1c2b1bfe2f9675d85d968cadda3bb24e792b Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Sat, 6 Apr 2024 13:23:32 +0200 Subject: [PATCH 2/2] correct processing of source name --- .../nuget-classlib-workflow/.github/workflows/dotnet.yml | 4 ++-- .../nuget-classlib-workflow/.template.config/template.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/nuget-classlib-workflow/.github/workflows/dotnet.yml b/templates/nuget-classlib-workflow/.github/workflows/dotnet.yml index 51234a9..06f8f54 100644 --- a/templates/nuget-classlib-workflow/.github/workflows/dotnet.yml +++ b/templates/nuget-classlib-workflow/.github/workflows/dotnet.yml @@ -19,10 +19,10 @@ jobs: dotnet-version: '8.0.x' - name: Restore dependencies for class library - run: dotnet restore src/ClassLibrary/ClassLibrary.csproj + run: dotnet restore src/ClassLibraryName/ClassLibraryName.csproj - name: Pack library - run: dotnet pack src/ClassLibrary/ClassLibrary.csproj --output ./nupkgs + run: dotnet pack src/ClassLibraryName/ClassLibraryName.csproj --output ./nupkgs # Veröffentlichen der NuGet-Pakete - name: Push NuGet and Symbol Packages diff --git a/templates/nuget-classlib-workflow/.template.config/template.json b/templates/nuget-classlib-workflow/.template.config/template.json index 4675d34..016745a 100644 --- a/templates/nuget-classlib-workflow/.template.config/template.json +++ b/templates/nuget-classlib-workflow/.template.config/template.json @@ -8,7 +8,7 @@ "identity": "Kurmann.ClassLibrary.GitHubWorkfow", "name": "Kurmann Class Library GitHub Workflow", "shortName": "nuget-classlib-workflow", - "sourceName": "EntityLib.ClassLibrary.GitHubWorkfow", + "sourceName": "ClassLibraryName", "description": "Creates a GitHub Actions workflow for publishing a Kurmann class library to NuGet.org.", "tags": { "language": "YAML",