Skip to content

Commit

Permalink
Добавил публикацию README.md и LICENSE.txt в nuget.org. Поднял весрию…
Browse files Browse the repository at this point in the history
… .net в тестах до 6. Поправил файлы github actions. Поднял версию пакета до 1.1.5.
  • Loading branch information
Alex Grigorichev committed Sep 6, 2023
1 parent ce62d50 commit 1013868
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: install dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: 6.0.x

- name: install packages
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: install dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: 6.0.x

- name: install packages
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: install dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
dotnet-version: 6.0.x

- name: install packages
run: dotnet restore
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,6 @@ ModelManifest.xml

**/.vs/config/applicationhost.config
src/.vs/**
.vs/**
.vs/**

.idea
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>1.1.4</Version>
<Version>1.1.5</Version>
<RootNamespace>Byndyusoft.ModelResult</RootNamespace>
<Authors>Byndyusoft</Authors>
<PackageTags>Byndyusoft;ModelResult</PackageTags>
Expand Down
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,12 @@ A detailed overview on how to contribute can be found in the [contributing guide
Make sure you have installed all of the following prerequisites on your development machine:

- Git - [Download & Install Git](https://git-scm.com/downloads). OSX and Linux machines typically have this already installed.
- .NET Core (version 3.1 or higher) - [Download & Install .NET Core](https://dotnet.microsoft.com/download/dotnet-core/3.1).

## General folders layout

### src
- source code

### tests

- unit-tests

- .NET Core (version 6.0 or higher) - [Download & Install .NET Core](https://dotnet.microsoft.com/en-us/download/dotnet/6.0).

## Package development lifecycle

- Implement package logic in `src`
- Add or addapt unit-tests (prefer before and simultaneously with coding) in `tests`
- Add or adapt unit-tests in `tests`
- Add or change the documentation as needed
- Open pull request in the correct branch. Target the project's `master` branch

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<nullable>enable</nullable>
<PackageId>Byndyusoft.ModelResult.AspNetCore</PackageId>
<RootNamespace>Byndyusoft.ModelResult.AspNetCore</RootNamespace>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -15,4 +16,9 @@
<ProjectReference Include="..\ModelResult\Byndyusoft.ModelResult.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
6 changes: 6 additions & 0 deletions src/ModelResult/Byndyusoft.ModelResult.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>Byndyusoft.ModelResult</PackageId>
<RootNamespace>Byndyusoft.ModelResult</RootNamespace>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<nullable>enable</nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 1013868

Please sign in to comment.