Skip to content

Commit

Permalink
update package version and workflow regex
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Sep 19, 2024
1 parent 883b123 commit 9e45768
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \<PackageVersion\> ./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 \<PackageVersion\> ./Terminal.Gui.templates.csproj | grep -oEi '[0-9a-zA-Z.-]+').nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json
20 changes: 11 additions & 9 deletions Terminal.Gui.templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,29 @@

<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>1.0.3</PackageVersion>
<PackageVersion>2.0.0-v2-develop.2203</PackageVersion>
<PackageId>Terminal.gui.templates</PackageId>
<Title>Terminal.Gui templates</Title>
<Authors>Thomas Nind</Authors>
<Description>Templates to use when creating an application for Terminal.Gui.</Description>
<PackageTags>dotnet-new;templates;csharp;terminal;c#;gui;template;consol</PackageTags>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui.templates</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>content</ContentTargetFolders>
<PackageReleaseNotes>
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
</PackageReleaseNotes>
</PropertyGroup>

Expand Down

0 comments on commit 9e45768

Please sign in to comment.