Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 2 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
- name: Ensure .NET Installed
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.11
with:
versionSpec: '6.0.5'
run: dotnet tool install --global GitVersion.Tool --version 5.12.0

- name: Determine Version
id: gitversion
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
- name: Ensure .NET Installed
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.11
with:
versionSpec: '6.0.5'
run: dotnet tool install --global GitVersion.Tool --version 5.12.0

- name: Determine Version
id: gitversion
Expand All @@ -39,4 +37,4 @@ jobs:
run: dotnet build "${{ env.solution-path }}" --no-restore --configuration Release -p:version=${{ steps.gitversion.outputs.majorMinorPatch }}

- name: Publish
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.ICG_NUGET_API_KEY}}
run: dotnet nuget push **/*.nupkg -s 'https://api.nuget.org/v3/index.json' -k ${{secrets.ICG_NUGET_API_KEY}}
23 changes: 7 additions & 16 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
mode: ContinuousDeployment
next-version: 6.0.5
next-version: 1.0.0
branches:
develop:
regex: develop
label: 'alpha'
main:
regex: main
tag: 'alpha'
increment: Patch
prevent-increment:
when-current-commit-tagged: true
source-branches: []
hotfix:
regex: hotfix[/-]
source-branches: [develop]
prevent-increment:
when-current-commit-tagged: true
is-release-branch: true
pull-request:
regex: (pull|pull\-requests|pr)[/-]
label: 'pr'
label-number-pattern: '[/-](?<number>\d+)[-/]'
tag: 'pr'
tag-number-pattern: '[/-](?<number>\d+)[-/]'
increment: Patch
prevent-increment:
when-current-commit-tagged: true
prevent-increment-of-merged-branch-version: false
is-release-branch: false
source-branches: []
ignore:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>ICG.NetCore.Utilities.UnitTesting</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down
Loading