Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GitTools/GitVersion
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.8.2
Choose a base ref
...
head repository: GitTools/GitVersion
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.8.3
Choose a head ref

Commits on May 20, 2021

  1. Copy the full SHA
    f92bb42 View commit details

Commits on Feb 16, 2022

  1. (build) update dotnet tools

    arturcic committed Feb 16, 2022
    Copy the full SHA
    8f64016 View commit details

Commits on Feb 17, 2022

  1. Copy the full SHA
    c142f2c View commit details
  2. fix some warnings

    arturcic committed Feb 17, 2022
    Copy the full SHA
    d8371e1 View commit details
  3. code cleanup

    arturcic committed Feb 17, 2022
    Copy the full SHA
    7b0fac6 View commit details

Commits on Feb 21, 2022

  1. (build) update to cake 2.1.0

    - remove dotnet format custom code, use the build-in code
    arturcic committed Feb 21, 2022
    Copy the full SHA
    78c5c07 View commit details
  2. Copy the full SHA
    599a412 View commit details
  3. Copy the full SHA
    8b7855c View commit details
  4. Copy the full SHA
    28ef014 View commit details
  5. Added LocalBuild agent (#3006)

    * (#3005) cleanup the build agents
    
    * (#3005) introduce LocalBuild agent
    arturcic authored Feb 21, 2022
    Copy the full SHA
    b0649e1 View commit details

Commits on Feb 24, 2022

  1. Enable correct PR versioning for Buildkite (#3013)

    * Enable correct PR versioning for Buildkite
    
    * Fix formatting issues
    santhonisz authored Feb 24, 2022
    Copy the full SHA
    5471212 View commit details

Commits on Feb 25, 2022

  1. Copy the full SHA
    4d12ab0 View commit details

Commits on Feb 26, 2022

  1. Various fixes for GH-2967

    asbjornu committed Feb 26, 2022
    Copy the full SHA
    4db6cb7 View commit details
  2. Add test for GH-2967

    Add test for GH-2967. Unfortunately, it does not reproduce the
    `NullReferenceException`, but it may be useful as a regression test in
    the future. ¯\_(ツ)_/¯
    asbjornu committed Feb 26, 2022
    Copy the full SHA
    845f54c View commit details
  3. Merge pull request #3018 from asbjornu/feature/gh-2967-fix

    Various fixes for GH-2967
    arturcic authored Feb 26, 2022
    Copy the full SHA
    f207613 View commit details

Commits on Mar 2, 2022

  1. Copy the full SHA
    a460b23 View commit details
  2. Merge pull request #2700 from mglochsen/feature/2698-gitflow-scenario

    added GitflowScanarios test class with one complex test
    asbjornu authored Mar 2, 2022
    Copy the full SHA
    4ad129e View commit details
  3. (build deps): Bump actions/checkout from 2 to 3

    Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 2, 2022
    Copy the full SHA
    7fac289 View commit details
  4. Merge pull request #3024 from GitTools/dependabot/github_actions/acti…

    …ons/checkout-3
    
    (build deps): Bump actions/checkout from 2 to 3
    mergify[bot] authored Mar 2, 2022
    Copy the full SHA
    e267b29 View commit details

Commits on Mar 3, 2022

  1. Added Infinite loop protection

    scphantm authored and arturcic committed Mar 3, 2022
    Copy the full SHA
    af56fb4 View commit details
  2. Refactor recursion protection to internal method

    Refactor recursion protection from the public `GetBranchConfiguration`
    method to an internal `GetBranchConfigurationInternal` method.
    asbjornu authored and arturcic committed Mar 3, 2022
    Copy the full SHA
    5eacf53 View commit details
  3. Add fallback for main and develop branch regex

    Add fallback for `null` in the configuration for the for `main` and
    `develop` branch regular expressions.
    asbjornu authored and arturcic committed Mar 3, 2022
    Copy the full SHA
    058491d View commit details
  4. Rename recursiveLevel to recurions

    asbjornu authored and arturcic committed Mar 3, 2022
    Copy the full SHA
    19a302b View commit details
  5. Disable auto-merge in forks

    asbjornu authored and arturcic committed Mar 3, 2022
    Copy the full SHA
    3297736 View commit details
  6. (build deps): Bump actions/download-artifact from 2.1.0 to 3

    Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2.1.0 to 3.
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](actions/download-artifact@v2.1.0...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/download-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 3, 2022
    Copy the full SHA
    5cb053f View commit details
  7. Merge pull request #3027 from GitTools/dependabot/github_actions/acti…

    …ons/download-artifact-3
    
    (build deps): Bump actions/download-artifact from 2.1.0 to 3
    asbjornu authored Mar 3, 2022
    Copy the full SHA
    6c8f18a View commit details

Commits on Mar 4, 2022

  1. (deps): Bump LibGit2Sharp

    Bumps [LibGit2Sharp](https://github.com/libgit2/libgit2sharp) from 0.27.0-preview-0158 to 0.27.0-preview-0175.
    - [Release notes](https://github.com/libgit2/libgit2sharp/releases)
    - [Changelog](https://github.com/libgit2/libgit2sharp/blob/master/CHANGES.md)
    - [Commits](https://github.com/libgit2/libgit2sharp/commits)
    
    ---
    updated-dependencies:
    - dependency-name: LibGit2Sharp
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 4, 2022
    Copy the full SHA
    c43d4c0 View commit details
  2. Merge pull request #3029 from GitTools/dependabot/nuget/LibGit2Sharp-…

    …0.27.0-preview-0175
    
    (deps): Bump LibGit2Sharp from 0.27.0-preview-0158 to 0.27.0-preview-0175
    mergify[bot] authored Mar 4, 2022
    Copy the full SHA
    97bf471 View commit details
  3. (build deps): Bump actions/upload-artifact from 2.3.1 to 3

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v2.3.1...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 4, 2022
    Copy the full SHA
    c8962ef View commit details
  4. Merge pull request #3030 from GitTools/dependabot/github_actions/acti…

    …ons/upload-artifact-3
    
    (build deps): Bump actions/upload-artifact from 2.3.1 to 3
    mergify[bot] authored Mar 4, 2022
    Copy the full SHA
    309118b View commit details
  5. Copy the full SHA
    780f815 View commit details
  6. Compare Mainline branch candidates without remote

    - Refactor `GetMainlineBranches` into many smaller methods.
    - Add logging in each method.
    - Compare Mainline branch candidates without remote.
    asbjornu committed Mar 4, 2022
    Copy the full SHA
    c5595eb View commit details
  7. Merge pull request #2379 from kcaswick/issue-1

    Reproduce 'Sequence contains no matching element' error
    asbjornu authored Mar 4, 2022
    Copy the full SHA
    9de8a77 View commit details
  8. Change Int32 to Int64

    Change the following properties from `Int32` to to `Int64` to avoid
    `System.OverflowException` on `int.Parse()` of very large numbers:
    
    - `SemanticVersion.Major`
    - `SemanticVersion.Minor`
    - `SemanticVersion.Patch`
    - `SemanticVersionBuildMetaData.CommitsSinceTag`
    - `SemanticVersionBuildMetaData.CommitsSinceVersionSource`
    - `SemanticVersionBuildMetaData.UncommittedChanges`
    - `SemanticVersionPreReleaseTag.Number`
    asbjornu committed Mar 4, 2022
    Copy the full SHA
    5f86998 View commit details

Commits on Mar 5, 2022

  1. Merge pull request #3028 from asbjornu/feature/int64

    Change `Int32` to `Int64`
    asbjornu authored Mar 5, 2022
    Copy the full SHA
    19462e1 View commit details
Showing with 848 additions and 773 deletions.
  1. +1 −0 .github/mergify.yml
  2. +33 −31 .github/workflows/ci.yml
  3. +9 −14 .github/workflows/codeql-analysis.yml
  4. +6 −6 .github/workflows/docs.yml
  5. +4 −2 .github/workflows/format.yml
  6. +1 −1 .github/workflows/release.yml
  7. +2 −2 build/.run/Code Format.run.xml
  8. +4 −4 build/Directory.Packages.props
  9. +1 −1 build/artifacts/Startup.cs
  10. +2 −2 build/build/Startup.cs
  11. +3 −8 build/build/Tasks/CodeFormat.cs
  12. +1 −1 build/build/Tasks/Test/PublishCoverage.cs
  13. +2 −2 build/chores/chores.csproj
  14. +0 −32 build/common/Addins/Cake.DotNetFormat/DotNetFormatAliases.cs
  15. +0 −79 build/common/Addins/Cake.DotNetFormat/DotNetFormatSettings.cs
  16. +0 −60 build/common/Addins/Cake.DotNetFormat/DotNetFormatToolRunner.cs
  17. +4 −3 build/common/Utilities/BuildContextBase.cs
  18. +3 −0 build/common/Utilities/BuildLifetimeBase.cs
  19. +31 −14 build/common/Utilities/ContextExtensions.cs
  20. +1 −1 build/docker/Startup.cs
  21. +1 −1 build/docs/docs.csproj
  22. +1 −1 build/publish/Startup.cs
  23. +1 −1 build/publish/Tasks/PublishNuget.cs
  24. +2 −2 build/release/Startup.cs
  25. +2 −2 dotnet-tools.json
  26. +1 −1 src/Directory.Build.props
  27. +2 −8 src/GitTools.Testing/Fixtures/SequenceDiagram.cs
  28. +3 −5 src/GitTools.Testing/GitTestExtensions.cs
  29. +2 −4 src/GitTools.Testing/Internal/DirectoryHelper.cs
  30. +2 −2 src/GitTools.Testing/Internal/ProcessHelper.cs
  31. +1 −1 src/GitVersion.App.Tests/ArgumentParserOnBuildServerTests.cs
  32. +9 −9 src/GitVersion.App.Tests/ArgumentParserTests.cs
  33. +3 −3 src/GitVersion.App.Tests/HelpWriterTests.cs
  34. +1 −1 src/GitVersion.App.Tests/Helpers/GitVersionHelper.cs
  35. +8 −8 src/GitVersion.App.Tests/PullRequestInBuildAgentTest.cs
  36. +2 −2 src/GitVersion.App.Tests/TagCheckoutInBuildAgentTests.cs
  37. +1 −1 src/GitVersion.App.Tests/VersionWriterTests.cs
  38. +21 −25 src/GitVersion.App/ArgumentParser.cs
  39. +5 −5 src/GitVersion.App/Arguments.cs
  40. +2 −2 src/GitVersion.App/HelpWriter.cs
  41. +3 −7 src/GitVersion.App/OverrideConfigOptionParser.cs
  42. +2 −2 src/GitVersion.App/Program.cs
  43. +5 −5 src/GitVersion.App/QuotedStringHelpers.cs
  44. +3 −3 src/GitVersion.Core.Tests/BuildAgents/AzurePipelinesTests.cs
  45. +17 −2 src/GitVersion.Core.Tests/BuildAgents/BuildKiteTests.cs
  46. +1 −1 src/GitVersion.Core.Tests/BuildAgents/BuildServerBaseTests.cs
  47. +3 −3 src/GitVersion.Core.Tests/BuildAgents/CodeBuildTests.cs
  48. +1 −1 src/GitVersion.Core.Tests/BuildAgents/ContinuaCiTests.cs
  49. +4 −4 src/GitVersion.Core.Tests/BuildAgents/DroneTests.cs
  50. +2 −2 src/GitVersion.Core.Tests/BuildAgents/EnvRunTests.cs
  51. +2 −2 src/GitVersion.Core.Tests/BuildAgents/GitHubActionsTests.cs
  52. +2 −2 src/GitVersion.Core.Tests/BuildAgents/GitLabCiTests.cs
  53. +5 −5 src/GitVersion.Core.Tests/BuildAgents/JenkinsTests.cs
  54. +1 −1 src/GitVersion.Core.Tests/BuildAgents/MyGetTests.cs
  55. +2 −2 src/GitVersion.Core.Tests/BuildAgents/SpaceAutomationTests.cs
  56. +1 −1 src/GitVersion.Core.Tests/BuildAgents/TeamCityTests.cs
  57. +3 −3 src/GitVersion.Core.Tests/Configuration/ConfigProviderTests.cs
  58. +18 −18 src/GitVersion.Core.Tests/Configuration/DefaultConfigFileLocatorTests.cs
  59. +4 −4 src/GitVersion.Core.Tests/Configuration/IgnoreConfigTests.cs
  60. +2 −2 src/GitVersion.Core.Tests/Configuration/Init/InitScenarios.cs
  61. +9 −9 src/GitVersion.Core.Tests/Core/DynamicRepositoryTests.cs
  62. +35 −35 src/GitVersion.Core.Tests/Core/GitVersionExecutorTests.cs
  63. +2 −2 src/GitVersion.Core.Tests/Core/GitVersionToolDirectoryTests.cs
  64. +2 −2 src/GitVersion.Core.Tests/Core/RepositoryStoreTests.cs
  65. +8 −8 src/GitVersion.Core.Tests/Extensions/GitToolsTestingExtensions.cs
  66. +33 −34 src/GitVersion.Core.Tests/Extensions/StringFormatWithExtensionTests.cs
  67. +1 −1 src/GitVersion.Core.Tests/Helpers/DirectoryHelper.cs
  68. +5 −5 src/GitVersion.Core.Tests/IntegrationTests/DevelopScenarios.cs
  69. +2 −2 src/GitVersion.Core.Tests/IntegrationTests/FeatureBranchScenarios.cs
  70. +85 −0 src/GitVersion.Core.Tests/IntegrationTests/GitflowScenarios.cs
  71. +10 −10 src/GitVersion.Core.Tests/IntegrationTests/HotfixBranchScenarios.cs
  72. +47 −0 src/GitVersion.Core.Tests/IntegrationTests/MainlineDevelopmentMode.cs
  73. +1 −1 src/GitVersion.Core.Tests/IntegrationTests/OtherScenarios.cs
  74. +6 −6 src/GitVersion.Core.Tests/IntegrationTests/ReleaseBranchScenarios.cs
  75. +4 −4 src/GitVersion.Core.Tests/IntegrationTests/RemoteRepositoryScenarios.cs
  76. +1 −1 src/GitVersion.Core.Tests/IntegrationTests/VersionInTagScenarios.cs
  77. +1 −1 src/GitVersion.Core.Tests/Model/CommitDateTests.cs
  78. +1 −1 src/GitVersion.Core.Tests/Model/GitVersionContextTests.cs
  79. +12 −13 src/GitVersion.Core.Tests/Model/MergeMessageTests.cs
  80. +1 −1 src/GitVersion.Core.Tests/VersionCalculation/BaseVersionCalculatorTests.cs
  81. +1 −1 src/GitVersion.Core.Tests/VersionCalculation/JsonVersionBuilderTests.cs
  82. +4 −4 src/GitVersion.Core.Tests/VersionCalculation/NextVersionCalculatorTests.cs
  83. +3 −1 src/GitVersion.Core.Tests/VersionCalculation/SemanticVersionTests.cs
  84. +3 −3 src/GitVersion.Core.Tests/VersionCalculation/VariableProviderTests.cs
  85. +1 −1 src/GitVersion.Core.Tests/VersionCalculation/VersionSourceTests.cs
  86. +4 −4 src/GitVersion.Core.Tests/VersionConverters/AssemblyInfoFileUpdaterTests.cs
  87. +3 −3 src/GitVersion.Core.Tests/VersionConverters/GitVersionInfoGeneratorTests.cs
  88. +1 −1 src/GitVersion.Core.Tests/VersionConverters/InformationalVersionBuilderTests.cs
  89. +3 −3 src/GitVersion.Core.Tests/VersionConverters/ProjectFileUpdaterTests.cs
  90. +6 −6 src/GitVersion.Core.Tests/VersionConverters/WixFileTests.cs
  91. +1 −1 src/GitVersion.Core/BuildAgents/Abstractions/IBuildAgentResolver.cs
  92. +2 −2 src/GitVersion.Core/BuildAgents/AppVeyor.cs
  93. +1 −1 src/GitVersion.Core/BuildAgents/AzurePipelines.cs
  94. +7 −5 src/GitVersion.Core/BuildAgents/BuildAgentResolver.cs
  95. +16 −3 src/GitVersion.Core/BuildAgents/BuildKite.cs
  96. +1 −3 src/GitVersion.Core/BuildAgents/BuildServerModule.cs
  97. +3 −4 src/GitVersion.Core/BuildAgents/CodeBuild.cs
  98. +1 −1 src/GitVersion.Core/BuildAgents/ContinuaCi.cs
  99. +2 −2 src/GitVersion.Core/BuildAgents/Drone.cs
  100. +1 −1 src/GitVersion.Core/BuildAgents/EnvRun.cs
  101. +1 −1 src/GitVersion.Core/BuildAgents/GitHubActions.cs
  102. +1 −1 src/GitVersion.Core/BuildAgents/GitLabCi.cs
  103. +1 −1 src/GitVersion.Core/BuildAgents/Jenkins.cs
  104. +15 −0 src/GitVersion.Core/BuildAgents/LocalBuild.cs
  105. +1 −1 src/GitVersion.Core/BuildAgents/MyGet.cs
  106. +1 −1 src/GitVersion.Core/BuildAgents/SpaceAutomation.cs
  107. +1 −1 src/GitVersion.Core/BuildAgents/TeamCity.cs
  108. +1 −1 src/GitVersion.Core/BuildAgents/TravisCI.cs
  109. +22 −8 src/GitVersion.Core/Configuration/BranchConfigurationCalculator.cs
  110. +10 −1 src/GitVersion.Core/Configuration/ConfigExtensions.cs
  111. +7 −7 src/GitVersion.Core/Configuration/ConfigurationBuilder.cs
  112. +5 −9 src/GitVersion.Core/Core/GitPreparer.cs
  113. +1 −2 src/GitVersion.Core/Core/GitVersionCalculateTool.cs
  114. +55 −11 src/GitVersion.Core/Core/RepositoryStore.cs
  115. +1 −1 src/GitVersion.Core/Extensions/StringExtensions.cs
  116. +1 −1 src/GitVersion.Core/Helpers/EncodingHelper.cs
  117. +3 −3 src/GitVersion.Core/Helpers/ProcessHelper.cs
  118. +1 −4 src/GitVersion.Core/Helpers/RetryAction.cs
  119. +2 −2 src/GitVersion.Core/Logging/ConsoleAppender.cs
  120. +1 −1 src/GitVersion.Core/Logging/LogExtensions.cs
  121. +1 −1 src/GitVersion.Core/Model/Configuration/BranchConfig.cs
  122. +10 −0 src/GitVersion.Core/Model/Exceptions/InfiniteLoopProtectionException.cs
  123. +3 −3 src/GitVersion.Core/Model/VersionVariables.cs
  124. +2 −2 src/GitVersion.Core/VersionCalculation/BaseVersionCalculators/MergeMessageVersionStrategy.cs
  125. +5 −10 src/GitVersion.Core/VersionCalculation/IncrementStrategyFinder.cs
  126. +24 −5 src/GitVersion.Core/VersionCalculation/MainlineVersionCalculator.cs
  127. +2 −2 src/GitVersion.Core/VersionCalculation/NextVersionCalculator.cs
  128. +10 −10 src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersion.cs
  129. +4 −4 src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionBuildMetaData.cs
  130. +1 −1 src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionFormatValues.cs
  131. +6 −12 src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionPreReleaseTag.cs
  132. +6 −8 src/GitVersion.Core/VersionCalculation/ShaVersionFilter.cs
  133. +3 −3 src/GitVersion.Core/VersionCalculation/VariableProvider.cs
  134. +1 −1 src/GitVersion.Core/VersionConverters/AssemblyInfo/AssemblyInfoFileUpdater.cs
  135. +2 −2 src/GitVersion.Core/VersionConverters/AssemblyInfo/ProjectFileUpdater.cs
  136. +1 −1 src/GitVersion.Core/VersionConverters/GitVersionInfo/GitVersionInfoGenerator.cs
  137. +16 −16 src/GitVersion.Core/VersionConverters/OutputGenerator/OutputGenerator.cs
  138. +2 −2 src/GitVersion.Core/VersionConverters/TemplateManager.cs
  139. +1 −1 src/GitVersion.LibGit2Sharp/Git/CommitCollection.cs
  140. +1 −1 src/GitVersion.LibGit2Sharp/Git/GitRepositoryInfo.cs
  141. +1 −1 src/GitVersion.MsBuild.Tests/Helpers/GitToolsTestingExtensions.cs
  142. +2 −2 src/GitVersion.MsBuild.Tests/Helpers/MsBuildTaskFixture.cs
  143. +1 −1 src/GitVersion.MsBuild.Tests/Tasks/GenerateGitVersionInformationTest.cs
  144. +1 −1 src/GitVersion.MsBuild.Tests/Tasks/UpdateAssemblyInfoTaskTest.cs
  145. +2 −2 src/GitVersion.MsBuild.Tests/Tasks/WriteVersionInfoTest.cs
  146. +6 −6 src/GitVersion.MsBuild/GitVersionTasks.cs
  147. +14 −15 src/GitVersion.MsBuild/Helpers/FileHelper.cs
1 change: 1 addition & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ pull_request_rules:
- check-success=Unit Test code (windows-latest, net5.0)
- check-success=Unit Test code (windows-latest, net5.0)
- check-success=Unit Test code (windows-latest, net5.0)
- repository-full-name=GitTools/GitVersion # Don't auto-merge PRs in forks
actions:
merge:
- name: Thank contributor
64 changes: 33 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,13 +6,15 @@ on:
- main
- 'fix/*'
- 'feature/*'
- 'release/*'
paths:
- '**'
- '!docs/**'

pull_request:
branches:
- main
- 'release/*'
paths:
- '**'
- '!docs/**'
@@ -40,7 +42,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Cache cake frosting
id: cache-cake
@@ -50,7 +52,7 @@ jobs:
key: run-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -70,7 +72,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -89,7 +91,7 @@ jobs:
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -98,21 +100,21 @@ jobs:
run: dotnet run/build.dll --target=Package
-
name: 'Upload nuget packages'
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v3
if: matrix.os == 'windows-latest'
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget
-
name: 'Upload native packages'
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v3
if: matrix.os == 'windows-latest'
with:
name: native-${{ runner.os }}
path: ${{ github.workspace }}/artifacts/packages/native/*.zip
-
name: 'Upload native packages'
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v3
if: matrix.os != 'windows-latest'
with:
name: native-${{ runner.os }}
@@ -133,7 +135,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -152,7 +154,7 @@ jobs:
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -172,7 +174,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -190,14 +192,14 @@ jobs:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download nuget packages
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -218,7 +220,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -236,13 +238,13 @@ jobs:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download nuget packages
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download native packages
with:
name: native-${{ runner.os }}
@@ -257,7 +259,7 @@ jobs:
install: true
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -282,7 +284,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -300,7 +302,7 @@ jobs:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download nuget packages
with:
name: nuget
@@ -315,7 +317,7 @@ jobs:
install: true
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -343,25 +345,25 @@ jobs:

-
name: Login to GitHub Container Registry
if: success() && github.event_name != 'pull_request'
if: success() && github.event_name != 'pull_request' && github.repository == 'GitTools/GitVersion'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_GITHUB_TOKEN }}
-
name: '[Docker Build/Test/Publish (amd64)] GitHub Container Registry'
if: success() && github.event_name != 'pull_request'
if: success() && github.event_name != 'pull_request' && github.repository == 'GitTools/GitVersion'
shell: pwsh
run: dotnet run/docker.dll --target=DockerPublish --arch amd64 --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --docker_registry github
-
name: '[Docker Build/Test/Publish (arm64)] GitHub Container Registry'
if: success() && github.event_name != 'pull_request'
if: success() && github.event_name != 'pull_request' && github.repository == 'GitTools/GitVersion'
shell: pwsh
run: dotnet run/docker.dll --target=DockerPublish --arch arm64 --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --docker_registry github
-
name: '[Docker Publish Manifest] GitHub Container Registry'
if: success() && github.event_name != 'pull_request'
if: success() && github.event_name != 'pull_request' && github.repository == 'GitTools/GitVersion'
shell: pwsh
run: dotnet run/docker.dll --target=DockerManifest --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --docker_registry github

@@ -380,7 +382,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -398,14 +400,14 @@ jobs:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download nuget packages
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -422,7 +424,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -440,26 +442,26 @@ jobs:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download native linux packages
with:
name: native-Linux
path: ${{ github.workspace }}/artifacts/packages/native
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download native windows packages
with:
name: native-Windows
path: ${{ github.workspace }}/artifacts/packages/native
-
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3
name: Download native macos packages
with:
name: native-macOS
path: ${{ github.workspace }}/artifacts/packages/native
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
23 changes: 9 additions & 14 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -4,13 +4,15 @@ on:
push:
branches:
- main
- 'release/*'
paths:
- '**'
- '!docs/**'

pull_request:
branches:
- main
- 'release/*'
paths:
- '**'
- '!docs/**'
@@ -31,7 +33,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

@@ -49,21 +51,14 @@ jobs:
key: run-${{ runner.os }}-${{ hashFiles('./build/**') }}

-
name: Install .NET Core SDK 3.1.x
uses: actions/setup-dotnet@v1
name: Install .NET SDKs
uses: actions/setup-dotnet@v2
with:
dotnet-version: '3.1.x'
dotnet-version: |
3.1.x
5.0.x
6.0.x
-
name: Install .NET SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
-
name: '[Prepare]'
if: steps.cache-cake.outputs.cache-hit != 'true'
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -64,7 +64,7 @@ jobs:
restore-keys: node-${{ runner.os }}
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -79,7 +79,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -98,7 +98,7 @@ jobs:
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
@@ -136,7 +136,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
@@ -155,7 +155,7 @@ jobs:
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
-
name: Install .NET SDK 6.0.x
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
-
Loading