Skip to content

Commit

Permalink
license.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
majorimi committed Sep 24, 2022
1 parent aa62147 commit 1825097
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines-Nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
FileVersionNumber: '$(AssemblyVersion)'
InformationalVersion: '$(AssemblyVersion)'
PackageVersion: '$(AssemblyVersion)'
GeneratePackageOnBuild: false
GeneratePackageOnBuild: true
LogLevel: 'verbose'
FailOnWarning: false
DisableTelemetry: false
Expand Down Expand Up @@ -97,6 +97,6 @@ jobs:
displayName: 'dotnet upload Nuget'
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
packagesToPush: 'src/Majorsoft.CQRS.Repositories/bin/$(buildConfiguration)/*.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '4f8b1f2e-37e5-4c51-b721-13f56be6a30d'
20 changes: 20 additions & 0 deletions src/Majorsoft.CQRS.Repositories/License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2022 Imre (Major) Toth

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>CQRS ready Generic Repository for EF</Title>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<PackageLicenseFile>License.txt</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -25,5 +26,12 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.9" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
<None Update="License.txt">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>

0 comments on commit 1825097

Please sign in to comment.