Skip to content

Commit

Permalink
ci(deps): bump GitVersion to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Dec 15, 2024
1 parent 7bb2d89 commit c4a566a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
runs-on: ubuntu-latest
env:
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
# v5.10.0 of GitVersion has a fix for incorrect versions when building on tag. See https://github.com/GitTools/GitVersion/issues/2838
# It appears that the fix then had a regression in a later version, so pinning to v5.10.0. See https://github.com/GitTools/GitVersion/issues/3351#issuecomment-1403657689
GITVERSION: '5.10.0'
GITVERSION: '6.0.x'
outputs:
version: ${{ steps.gitversion.outputs.fullSemVer }}
package-version: ${{ steps.gitversion.outputs.fullSemVer }}
Expand All @@ -37,12 +35,12 @@ jobs:
fetch-tags: true

- name: Install GitVersion ${{ env.GITVERSION }}
uses: gittools/actions/gitversion/setup@v0.11.0
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: ${{ env.GITVERSION }}

- name: Determine version
uses: gittools/actions/gitversion/execute@v0.11.0
uses: gittools/actions/gitversion/execute@v3.1.1
id: gitversion
with:
useConfigFile: true
Expand Down
13 changes: 2 additions & 11 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDelivery
continuous-delivery-fallback-tag: 'ci'
# If your package version contains one of the following, they will not be visible from the older clients
# (NuGet clients before 4.3.0 or Visual Studio before 2017 version 15.3):
# The pre-release label is dot-separated, e.g. 1.0.0-alpha.1
# The version has build-metadata, e.g. 1.0.0+githash We recommend you consider this to be a beta-feature until a significant majority of our users are on these latest clients that understand Semantic Versioning 2.0.0.
# See https://devblogs.microsoft.com/nuget/whats-nu-in-nuget-with-visual-studio-2017-version-15-3/#support-for-semantic-versioning-200
legacy-semver-padding: 1
build-metadata-padding: 1
commits-since-version-source-padding: 1
branches:
main:
regex: ^main$
tag: 'ci'
label: 'ci'
pull-request:
regex: ^(pull|pull\-requests|pr)[/-]
mode: ContinuousDelivery
tag: pr
label: pr
ignore:
sha: []

0 comments on commit c4a566a

Please sign in to comment.