Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to handle build issues #24

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
dotnet-version: 6.0.x

- name: Install GitVersion
run: dotnet tool install --global GitVersion.Tool

uses: gittools/actions/gitversion/setup@v3.0.0
with:
versionSpec: '6.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.15
uses: gittools/actions/gitversion/execute@v3.0.0
with:
useConfigFile: true

Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
dotnet-version: 6.0.x

- name: Install GitVersion
run: dotnet tool install --global GitVersion.Tool

uses: gittools/actions/gitversion/setup@v3.0.0
with:
versionSpec: '6.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.15
uses: gittools/actions/gitversion/execute@v3.0.0
with:
useConfigFile: true
useConfigFile: true 15

- name: Restore Packages
run: dotnet restore "${{ env.solution-path }}"
Expand Down
11 changes: 7 additions & 4 deletions GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ next-version: 5.1.4
branches:
develop:
regex: develop
tag: 'alpha'
label: 'alpha'
increment: Patch
prevent-increment:
when-current-commit-tagged: true
source-branches: []
pull-request:
regex: (pull|pull\-requests|pr)[/-]
tag: 'pr'
tag-number-pattern: '[/-](?<number>\d+)[-/]'
label: 'pr'
label-number-pattern: '[/-](?<number>\d+)[-/]'
increment: Patch
prevent-increment-of-merged-branch-version: false
prevent-increment:
when-current-commit-tagged: true
is-release-branch: false
source-branches: []
ignore:
Expand Down
Loading