Skip to content

Commit

Permalink
Merged v2_develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Jul 7, 2024
2 parents f71b504 + f655d74 commit 9079856
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Test
run: |
sed -i 's/"stopOnFail": false/"stopOnFail": true/g' UnitTests/xunit.runner.json
dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings --blame
dotnet test --verbosity normal --blame --diag:logs/logs.txt --blame-hang --blame-hang-timeout 60s
mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/
# Note: this step is currently not writing to the gist for some reason
Expand Down
5 changes: 2 additions & 3 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
mode: ContinuousDeployment
tag-prefix: '[vV]'
continuous-delivery-fallback-tag: pre
continuous-delivery-fallback-tag: dev
branches:
develop:
mode: ContinuousDeployment
tag: pre
tag: dev
regex: develop
source-branches:
- main
Expand All @@ -14,7 +14,6 @@ branches:
mode: ContinuousDeployment
tag: dev
regex: ^v2_develop?[/-]
#is-release-branch: true
tracks-release-branches: true
is-source-branch-for: ['v2_release']
source-branches: []
Expand Down
103 changes: 103 additions & 0 deletions GitVersion.yml.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
mode: ContinuousDeployment
tag-prefix: '[vV]'
continuous-delivery-fallback-tag: dev
branches:
develop:
mode: ContinuousDeployment
tag: dev
regex: develop
source-branches:
- main
pre-release-weight: 100

v2_develop:
mode: ContinuousDeployment
tag: dev
regex: ^v2_develop?[/-]
<<<<<<< HEAD
#is-release-branch: true
=======
>>>>>>> v2_develop
tracks-release-branches: true
is-source-branch-for: ['v2_release']
source-branches: []

v2_release:
mode: ContinuousDeployment
tag: prealpha
regex: v2_release
is-release-branch: true
source-branches: ['v2_develop']

pull-request:
mode: ContinuousDeployment
tag: PullRequest.{BranchName}
increment: Inherit
tag-number-pattern: '[/-](?<number>\d+)'
regex: ^(pull|pull\-requests|pr)[/-]
source-branches:
- develop
- main
- release
- v2_develop
- v2_release
- feature
- support
- hotfix
pre-release-weight: 30000

ignore:
sha: []


# next-version: 2.0.0
# mode: ContinuousDeployment
# tag-prefix: '[vV]'
# continuous-delivery-fallback-tag: 'pre'
# branches:
# # v1_develop:
# # mode: ContinuousDeployment
# # tag: pre
# # regex: ^v1_develop?[/-]
# # is-release-branch: false
# # source-branches:
# # - v1
# # v1:
# # tag: rc
# # increment: Patch
# # regex: ^v2?[/-]
# # is-release-branch: false
# # source-branches: []
# # is-mainline: true

# v2_develop:
# mode: ContinuousDeployment
# tag: pre
# regex: ^v2_develop?[/-]
# is-release-branch: true
# tracks-release-branches: true
# is-source-branch-for: ['v2']
# source-branches: []
# v2:
# mode: ContinuousDeployment
# is-release-branch: false
# tag: alpha
# increment: Patch
# regex: ^v2?[/-]
# source-branches: ['v2_develop']

# # feature:
# # tag: useBranchName
# # regex: ^features?[/-]
# # source-branches:
# # - v1
# # - v1_develop
# # - v2
# # - v2_develop

# pull-request:
# tag: PullRequest.{BranchName}
# increment: Inherit
# ignore:
# sha: []
# merge-message-formats: {}
25 changes: 25 additions & 0 deletions UnitTests/UnitTests.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTests", "UnitTests.csproj", "{A29633F2-B26E-48B2-997A-1733286E3C13}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A29633F2-B26E-48B2-997A-1733286E3C13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A29633F2-B26E-48B2-997A-1733286E3C13}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A29633F2-B26E-48B2-997A-1733286E3C13}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A29633F2-B26E-48B2-997A-1733286E3C13}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {86ED8EAD-F1D5-4F95-A0E6-6D73DFC8442F}
EndGlobalSection
EndGlobal

0 comments on commit 9079856

Please sign in to comment.