Skip to content

Commit

Permalink
Package adjustments and publishing update.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdrbob committed Sep 24, 2022
1 parent ea228e7 commit 56dcc06
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ jobs:
CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }}
- name: Clean up signing cert
run: rm ./cert.p12
- name: Publish package to Github registry
run: dotnet nuget push ./out/*.nupkg -k "$GITHUB_AUTH_TOKEN" -s 'https://nuget.pkg.github.com/blendinteractive/index.json'
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package to Nuget public registry
run: dotnet nuget push ./out/*.nupkg -k "$NUGET_AUTH_TOKEN" -s 'https://nuget.pkg.github.com/blendinteractive/index.json'
run: dotnet nuget push ./out/*.nupkg -k "$NUGET_AUTH_TOKEN" -s 'https://api.nuget.org/v3/index.json'
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
19 changes: 11 additions & 8 deletions src/BlendInteractive.Datastore/BlendInteractive.Datastore.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>

<PackageId>BlendInteractive.Datastore</PackageId>
<Description>A minimalist SQL migration system and access pattern</Description>

<Version>1.0.1</Version>
<PackageVersion>1.0.1</PackageVersion>
<AssemblyVersion>1.0.1.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion>
<Version>1.0.2</Version>
<PackageVersion>1.0.2</PackageVersion>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion>

<Authors>Blend Interactive</Authors>
<Company>Blend Interactive</Company>
Expand All @@ -20,6 +20,8 @@

<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PackageIcon>icon.png</PackageIcon>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIconUrl />

<PackageReleaseNotes>Initial Release</PackageReleaseNotes>
Expand All @@ -30,20 +32,21 @@

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<None Include="..\..\License">
<Pack>True</Pack>
<PackagePath></PackagePath>
<PackagePath>LICENSE.txt</PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
<PackagePath>README.md</PackagePath>
</None>
<None Include="..\..\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
<PackagePath>icon.png</PackagePath>
</None>
</ItemGroup>

Expand Down

0 comments on commit 56dcc06

Please sign in to comment.