From 0966a1c6dda4c1c549c9350bbf0b9f2b6f4a9aa7 Mon Sep 17 00:00:00 2001 From: Mitchel Sellers Date: Thu, 27 Nov 2025 00:21:22 -0600 Subject: [PATCH] Updated build --- .github/release.yml | 23 +++++++++++++++++++ .github/workflows/ci-build.yml | 14 +++++------ .github/workflows/release-build.yml | 8 +++---- GitVersion.yml | 1 - ...tilities.Bootstrap5TagHelpers.Tests.csproj | 8 +++---- 5 files changed, 36 insertions(+), 18 deletions(-) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..d8aa928 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,23 @@ +changelog: + exclude: + labels: + - question + - wontfix + - invalid + categories: + - title: Exciting New Features 🎉 + labels: + - enhancement + - feature + - title: Squashed Bugs 🐛 + labels: + - bug + - breaking-change + - title: Administrative + labels: + - administrative + - documentation + - dependencies + - title: Other Changes + labels: + - "*" \ No newline at end of file diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 2941051..2e88f5f 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -31,15 +31,13 @@ jobs: dotnet-version: 9.0.x - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.1.11 + uses: gittools/actions/gitversion/setup@v4.2.0 with: - versionSpec: '6.0.5' - + versionSpec: '6.4.0' + - name: Determine Version id: gitversion - uses: gittools/actions/gitversion/execute@v3.1.11 - with: - useConfigFile: true + uses: gittools/actions/gitversion/execute@v4.2.0 - name: Cache SonarQube Cloud packages uses: actions/cache@v4 @@ -67,8 +65,8 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} shell: powershell run: | - .\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities.bootstrap5taghelpers" /o:"iowacomputergurus-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /n:"Asp.NET Core Bootstrap 5 Tag Helpers" + .\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities.bootstrap5taghelpers" /o:"iowacomputergurus-github" /d:sonar.token="${{ env.SONAR_TOKEN }}" /n:"Asp.NET Core Bootstrap 5 Tag Helpers" dotnet restore "${{ env.solution-path }}" dotnet build "${{ env.solution-path }}" --no-restore --configuration Release -p:version=${{ steps.gitversion.outputs.majorMinorPatch }} dotnet test "${{ env.solution-path }}" --no-build --configuration Release --collect "XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover --logger "trx;LogFileName=unittests.trx" - .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" + .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ env.SONAR_TOKEN }}" diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index f72bf6a..b69af3b 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -25,15 +25,13 @@ jobs: dotnet-version: 9.0.x - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.1.11 + uses: gittools/actions/gitversion/setup@v4.2.0 with: - versionSpec: '6.0.5' + versionSpec: '6.4.0' - name: Determine Version id: gitversion - uses: gittools/actions/gitversion/execute@v3.1.11 - with: - useConfigFile: true + uses: gittools/actions/gitversion/execute@v4.2.0 - name: Restore Packages run: dotnet restore "${{ env.solution-path }}" diff --git a/GitVersion.yml b/GitVersion.yml index ea04a69..9d3645d 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -17,7 +17,6 @@ branches: pull-request: regex: (pull|pull\-requests|pr)[/-] label: 'pr' - label-number-pattern: '[/-](?\d+)[-/]' increment: Patch is-release-branch: false source-branches: [] diff --git a/src/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests.csproj b/src/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests.csproj index 5560405..69c10f6 100644 --- a/src/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests.csproj +++ b/src/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests.csproj @@ -9,16 +9,16 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive