Added more package metadata

- Removed RC suffix
This commit is contained in:
Tony Bark 2020-12-09 17:07:58 -05:00
parent 8f21bf3d26
commit 0e6ba4f99d
2 changed files with 7 additions and 5 deletions

View file

@ -5,7 +5,7 @@ on:
- "releases/**"
jobs:
publish:
name: Github Packages Release
name: Package Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -18,8 +18,8 @@ jobs:
run: dotnet restore
- name: Package
run: dotnet pack --no-restore -o .
- name: Publish
- name: Publish to Nuget
env:
NUGET_KEY: ${{ secrets.GH_PKG_KEY }}
NUGET_API: https://nuget.pkg.github.com/tonytins/index.json
NUGET_KEY: ${{ secrets.NUGET_KEY }}
NUGET_API: https://api.nuget.org/v3/index.json
run: dotnet nuget push CSTNet.*.nupkg -k $NUGET_KEY -s $NUGET_API

View file

@ -2,10 +2,12 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.0-rc1</Version>
<Version>1.0</Version>
<Authors>Tony Bark</Authors>
<PackageDescription>Caret-Separated Text (or CST) is a key-value pair format represented by numbers or words as keys and the value is the string enclosed between carets (^) that contains the contents. CST.NET is a library for prasing the CST format.</PackageDescription>
<RepositoryUrl>https://github.com/tonytins/cstnet</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageLicenseUrl>https://github.com/tonytins/cstnet/blob/master/LICENSE</PackageLicenseUrl>
<Product>CST.Net</Product>
</PropertyGroup>