Compare commits
10 Commits
7caf5ed4aa
...
3266fd5e65
| Author | SHA1 | Date | |
|---|---|---|---|
|
3266fd5e65
|
|||
|
4e997a6fdf
|
|||
|
9a9b3ca9f8
|
|||
|
0a769040fc
|
|||
|
268aff434e
|
|||
|
30e2c18b68
|
|||
|
405767587e
|
|||
|
aff7de0901
|
|||
|
6bb600ac87
|
|||
| b744a8b052 |
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@@ -94,8 +94,6 @@
|
|||||||
"--nologo",
|
"--nologo",
|
||||||
"--verbosity",
|
"--verbosity",
|
||||||
"minimal",
|
"minimal",
|
||||||
"--output",
|
|
||||||
"packages",
|
|
||||||
"/property:GenerateFullPaths=true",
|
"/property:GenerateFullPaths=true",
|
||||||
"/consoleloggerparameters:NoSummary",
|
"/consoleloggerparameters:NoSummary",
|
||||||
"/p:TF_BUILD=true",
|
"/p:TF_BUILD=true",
|
||||||
|
|||||||
@@ -50,15 +50,19 @@
|
|||||||
<DefaultItemExcludes>$(DefaultItemExcludes);*.log;*.binlog</DefaultItemExcludes>
|
<DefaultItemExcludes>$(DefaultItemExcludes);*.log;*.binlog</DefaultItemExcludes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="$(ArtifactsPath) == ''">
|
<PropertyGroup Condition="$(ArtifactsPath) == '' AND $(DisableCustomArtifactsPath) != 'true'">
|
||||||
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
|
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="$(ArtifactsPath) != ''">
|
||||||
|
<UseArtifactsOutput>true</UseArtifactsOutput>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Label="Central Package Management">
|
<PropertyGroup Label="Central Package Management">
|
||||||
<!-- Create Directory.Packages.props file next to solution to use -->
|
<!-- Create Directory.Packages.props file next to solution to use -->
|
||||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||||
<!-- Any transitive dependency defined below will be used explicitly on the version stated -->
|
<!-- Any transitive dependency defined below will be used explicitly on the version stated -->
|
||||||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Label="Project Assets">
|
<PropertyGroup Label="Project Assets">
|
||||||
@@ -134,6 +138,12 @@
|
|||||||
</AssemblyAttribute>
|
</AssemblyAttribute>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Use .NET ruleset for analyzers -->
|
||||||
|
<PropertyGroup Label="Code Analysis Ruleset"
|
||||||
|
Condition="Exists('$(MSBuildThisFileDirectory)\dotnet.ruleset')">
|
||||||
|
<CodeAnalysisRuleset>$(MSBuildThisFileDirectory)\dotnet.ruleset</CodeAnalysisRuleset>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Use readme as nuget information -->
|
<!-- Use readme as nuget information -->
|
||||||
<ItemGroup Label="Readme" Condition="$(IsPackable) == 'True' AND $(ProjectReadMe) != ''">
|
<ItemGroup Label="Readme" Condition="$(IsPackable) == 'True' AND $(ProjectReadMe) != ''">
|
||||||
<None Include="$(ProjectReadMe)" Pack="true" PackagePath="" Visible="true"/>
|
<None Include="$(ProjectReadMe)" Pack="true" PackagePath="" Visible="true"/>
|
||||||
@@ -164,8 +174,9 @@
|
|||||||
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
|
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
|
||||||
<Copyright>Copyright © 2017-$(CurrentYear) Kritikos IO. All rights reserved.</Copyright>
|
<Copyright>Copyright © 2017-$(CurrentYear) Kritikos IO. All rights reserved.</Copyright>
|
||||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||||
<PackageOutputPath>$(MSBuildThisFileDirectory)/packages</PackageOutputPath>
|
<PackageOutputPath Condition="$(PackageOutputPath) == ''">$(MSBuildThisFileDirectory)/packages</PackageOutputPath>
|
||||||
<PublishDir>$(MSBuildThisFileDirectory)/upload/$(ProjectName)</PublishDir>
|
<PublishDir Condition="$(PublishDir) == ''">
|
||||||
|
$(MSBuildThisFileDirectory)/upload/$(MSBuildProjectName)</PublishDir>
|
||||||
<PackageIcon Condition="$(ProjectIconExists) == 'True'">icon.png</PackageIcon>
|
<PackageIcon Condition="$(ProjectIconExists) == 'True'">icon.png</PackageIcon>
|
||||||
<PackageReadmeFile Condition="$(ProjectReadMeExists) == 'True'">README.md</PackageReadmeFile>
|
<PackageReadmeFile Condition="$(ProjectReadMeExists) == 'True'">README.md</PackageReadmeFile>
|
||||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
|
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
|
||||||
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
|
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
|
||||||
<RunSettingsFilePath>$(MSBuildThisFileDirectory)\.runsettings</RunSettingsFilePath>
|
<RunSettingsFilePath>$(MSBuildThisFileDirectory)\.runsettings</RunSettingsFilePath>
|
||||||
|
<NoWarn>$(NoWarn);CA1707</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Label="Hide Assets">
|
<ItemGroup Label="Hide Assets">
|
||||||
@@ -65,4 +66,9 @@
|
|||||||
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
|
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
<Import
|
||||||
|
Condition="Exists('$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).EntityFrameworkCore.targets')"
|
||||||
|
Project="$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).EntityFrameworkCore.targets" />
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<ItemGroup Label="Packages">
|
<ItemGroup Label="Packages">
|
||||||
<PackageVersion Include="GitVersion.MsBuild" Version="6.3.0" />
|
<PackageVersion Include="GitVersion.MsBuild" Version="6.4.0" />
|
||||||
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.6" />
|
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.6" />
|
||||||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
||||||
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
|
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
|
||||||
|
|||||||
@@ -1,30 +1,24 @@
|
|||||||
workflow: GitFlow/v1
|
workflow: GitHubFlow/v1
|
||||||
mode: ContinuousDelivery
|
mode: ContinuousDelivery
|
||||||
|
tag-prefix: '[vV]?'
|
||||||
|
ignore:
|
||||||
|
paths:
|
||||||
|
- ^(?!src\/|Directory\.Packages\.props|GitVersion.yml).*
|
||||||
branches:
|
branches:
|
||||||
main:
|
|
||||||
mode: ContinuousDelivery
|
|
||||||
label: rc
|
|
||||||
develop:
|
develop:
|
||||||
label: alpha
|
label: 'beta'
|
||||||
|
regex: '^(dev|develop|development)$'
|
||||||
source-branches:
|
source-branches:
|
||||||
- main
|
- main
|
||||||
- feature
|
|
||||||
feature:
|
feature:
|
||||||
mode: ContinuousDelivery
|
mode: ContinuousDelivery
|
||||||
label: '{BranchName}'
|
|
||||||
source-branches:
|
source-branches:
|
||||||
- develop
|
- develop
|
||||||
|
hotfix:
|
||||||
|
regex: ^hotfix?[\/-](?<BranchName>.+)
|
||||||
|
mode: ContinuousDelivery
|
||||||
release:
|
release:
|
||||||
mode: ContinuousDelivery
|
mode: ContinuousDelivery
|
||||||
label: ''
|
|
||||||
source-branches:
|
|
||||||
- main
|
|
||||||
- hotfix
|
|
||||||
hotfix:
|
|
||||||
mode: ContinuousDelivery
|
|
||||||
label: '{BranchName}'
|
|
||||||
source-branches:
|
|
||||||
- release
|
|
||||||
|
|
||||||
prevent-increment:
|
prevent-increment:
|
||||||
of-merged-branch: true
|
of-merged-branch: true
|
||||||
|
|||||||
Reference in New Issue
Block a user