Compare commits
5 Commits
aff7de0901
...
main
Author | SHA1 | Date | |
---|---|---|---|
9a9b3ca9f8
|
|||
0a769040fc
|
|||
268aff434e
|
|||
30e2c18b68
|
|||
405767587e
|
@@ -50,7 +50,7 @@
|
||||
<DefaultItemExcludes>$(DefaultItemExcludes);*.log;*.binlog</DefaultItemExcludes>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(ArtifactsPath) == ''">
|
||||
<PropertyGroup Condition="$(ArtifactsPath) == '' AND $(DisableCustomArtifactsPath) != 'true'">
|
||||
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -134,6 +134,12 @@
|
||||
</AssemblyAttribute>
|
||||
</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 -->
|
||||
<ItemGroup Label="Readme" Condition="$(IsPackable) == 'True' AND $(ProjectReadMe) != ''">
|
||||
<None Include="$(ProjectReadMe)" Pack="true" PackagePath="" Visible="true"/>
|
||||
|
@@ -10,6 +10,7 @@
|
||||
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
|
||||
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
|
||||
<RunSettingsFilePath>$(MSBuildThisFileDirectory)\.runsettings</RunSettingsFilePath>
|
||||
<NoWarn>$(NoWarn);CA1707</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Label="Hide Assets">
|
||||
@@ -65,4 +66,9 @@
|
||||
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<Import
|
||||
Condition="Exists('$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).EntityFrameworkCore.targets')"
|
||||
Project="$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).EntityFrameworkCore.targets" />
|
||||
|
||||
</Project>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<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.NET.Test.Sdk" Version="17.14.1" />
|
||||
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
|
||||
|
@@ -1,19 +1,24 @@
|
||||
workflow: GitFlow/v1
|
||||
workflow: GitHubFlow/v1
|
||||
mode: ContinuousDelivery
|
||||
tag-prefix: '[vV]?'
|
||||
ignore:
|
||||
paths:
|
||||
- ^(?!src\/|Directory\.Packages\.props|GitVersion.yml).*
|
||||
branches:
|
||||
main:
|
||||
mode: ContinuousDelivery
|
||||
label: ''
|
||||
develop:
|
||||
label: alpha
|
||||
label: 'beta'
|
||||
regex: '^(dev|develop|development)$'
|
||||
source-branches:
|
||||
- main
|
||||
- feature
|
||||
feature:
|
||||
mode: ContinuousDelivery
|
||||
label: '{BranchName}'
|
||||
source-branches:
|
||||
- develop
|
||||
hotfix:
|
||||
regex: ^hotfix?[\/-](?<BranchName>.+)
|
||||
mode: ContinuousDelivery
|
||||
release:
|
||||
mode: ContinuousDelivery
|
||||
|
||||
prevent-increment:
|
||||
of-merged-branch: true
|
||||
|
Reference in New Issue
Block a user