From e83faaa84ad498d2c863461394248d4e76d60d8d Mon Sep 17 00:00:00 2001 From: vivet Date: Fri, 9 Oct 2026 15:34:55 +0200 Subject: [PATCH 1/2] First version release --- .github/workflows/build-and-deploy.yml | 46 +++++++++++++------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 8322772..d9885cd 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -8,7 +8,7 @@ on: - master env: APP_NAME: DanishCvr - VERSION: 1.0.0-preview + VERSION: 1.0.0 NUGET_HOST: https://api.nuget.org/v3/index.json NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }} jobs: @@ -37,27 +37,27 @@ jobs: throw "Pack failed"; }; - # - name: Push NuGet - # if: github.ref == 'refs/heads/master' - # shell: pwsh - # run: | - # dotnet nuget push "nupkgs/*.nupkg" -s $env:NUGET_HOST -k $env:NUGET_APIKEY --skip-duplicate + - name: Push NuGet + if: github.ref == 'refs/heads/master' + shell: pwsh + run: | + dotnet nuget push "nupkgs/*.nupkg" -s $env:NUGET_HOST -k $env:NUGET_APIKEY --skip-duplicate - # if ($LastExitCode -ne 0) - # { - # throw "Publish failed"; - # }; + if ($LastExitCode -ne 0) + { + throw "Publish failed"; + }; - # - name: GitHub Release - # if: github.ref == 'refs/heads/master' - # uses: ncipollo/release-action@v1 - # with: - # tag: v${{ env.VERSION }} - # name: "Release ${{ env.VERSION }}" - # body: | - # Version: ${{ env.VERSION }} - # Commit: ${{ github.sha }} - # artifacts: "nupkgs/*" - # token: ${{ secrets.GITHUB_TOKEN }} - # draft: false - # prerelease: false + - name: GitHub Release + if: github.ref == 'refs/heads/master' + uses: ncipollo/release-action@v1 + with: + tag: v${{ env.VERSION }} + name: "Release ${{ env.VERSION }}" + body: | + Version: ${{ env.VERSION }} + Commit: ${{ github.sha }} + artifacts: "nupkgs/*" + token: ${{ secrets.GITHUB_TOKEN }} + draft: false + prerelease: false From 1fa94a757541ce2332a2633779e9152370a4c9f8 Mon Sep 17 00:00:00 2001 From: vivet Date: Fri, 9 Oct 2026 15:46:47 +0200 Subject: [PATCH 2/2] Updated --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 17b8736..3c2381f 100644 --- a/README.md +++ b/README.md @@ -96,4 +96,3 @@ Both services are registered by `AddDanishCvr()`. | Method | Description | Returns | |---|---|---| | `SearchAllAsync` | Walks all CVR number prefixes in parallel and hands each batch of companies to a callback. Used to build a local copy of the register. | `DebugInformation` | -