diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..b036478 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,22 @@ +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 + - 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 c9b67d0..97f3896 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -24,13 +24,13 @@ jobs: dotnet-version: 8.0.x - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.1.1 + 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.1 + uses: gittools/actions/gitversion/execute@v4.2.0 with: useConfigFile: true @@ -81,15 +81,13 @@ jobs: dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.1.1 + 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.1 - with: - useConfigFile: true + uses: gittools/actions/gitversion/execute@v4.2.0 - name: Build and analyze env: @@ -97,7 +95,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} shell: powershell run: | - .\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities" /o:"iowacomputergurus-github" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /n:"AspNetCore Utilities" + .\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities" /o:"iowacomputergurus-github" /d:sonar.login="${{ env.SONAR_TOKEN }}" /n:"AspNetCore Utilities" 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" diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index f7d00c3..9617929 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -23,15 +23,13 @@ jobs: dotnet-version: 8.0.x - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.1.1 + 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.1 - 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 86f6784..8914874 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/DependencyResolution/StartupExtensions.cs b/src/AspNetCore.Utilities/DependencyResolution/StartupExtensions.cs deleted file mode 100644 index cbca7d3..0000000 --- a/src/AspNetCore.Utilities/DependencyResolution/StartupExtensions.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Microsoft.Extensions.DependencyInjection -{ - /// - /// - /// - public static class StartupExtensions - { - ///// - ///// Registers the items included in the ICG AspNetCore Utilities project for Dependency Injection - ///// - ///// Your existing services collection - //public static void UseIcgAspNetCoreUtilities(this IServiceCollection services) - //{ - // //Bind additional services - - //} - } -} \ No newline at end of file