From 9e45768988967e7872d75d74378f5b05205887a2 Mon Sep 17 00:00:00 2001 From: tznind Date: Thu, 19 Sep 2024 18:20:19 +0100 Subject: [PATCH] update package version and workflow regex --- .github/workflows/build.yml | 2 +- Terminal.Gui.templates.csproj | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de480f1..2f2f61c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,4 +13,4 @@ jobs: run: dotnet pack - name: Publish to Nuget if: contains(github.ref, 'refs/tags/v') - run: dotnet nuget push ./bin/Debug/Terminal.Gui.templates.$(fgrep \ ./Terminal.Gui.templates.csproj | grep -oEi '[0-9.]+').nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json + run: dotnet nuget push ./bin/Debug/Terminal.Gui.templates.$(fgrep \ ./Terminal.Gui.templates.csproj | grep -oEi '[0-9a-zA-Z.-]+').nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json diff --git a/Terminal.Gui.templates.csproj b/Terminal.Gui.templates.csproj index f0ad890..8c7f008 100644 --- a/Terminal.Gui.templates.csproj +++ b/Terminal.Gui.templates.csproj @@ -2,13 +2,13 @@ Template - 1.0.3 + 2.0.0-v2-develop.2203 Terminal.gui.templates Terminal.Gui templates Thomas Nind Templates to use when creating an application for Terminal.Gui. dotnet-new;templates;csharp;terminal;c#;gui;template;consol - net6.0 + net8.0 https://github.com/gui-cs/Terminal.Gui.templates README.md MIT @@ -16,13 +16,15 @@ false content - v1.0.3 - - Added Title to window showing quit shortcut - v1.0.2 - - Renamed package Terminal.Gui.templates - v1.0.1 - - Added README.md to package - - Changed Terminal.Gui package dependency to be 1.* instead of explicitly 1.7.2 + 2.0.0-v2-develop.2203 + - Update for version 2 of Terminal.Gui (latest Terminal Gui Designer compatible edition) + v1.0.3 + - Added Title to window showing quit shortcut + v1.0.2 + - Renamed package Terminal.Gui.templates + v1.0.1 + - Added README.md to package + - Changed Terminal.Gui package dependency to be 1.* instead of explicitly 1.7.2