diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml index f0221f1..19c9608 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/nuget-publish.yml @@ -18,7 +18,7 @@ jobs: - name: Extract release version id: release_version - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF#refs/tags/} | cut -c 2-)" >> $GITHUB_ENV - name: Restore dependencies run: dotnet restore @@ -30,7 +30,7 @@ jobs: run: dotnet test --no-restore --verbosity normal - name: Pack - run: dotnet pack --configuration Release --no-build --output nupkgs /p:PackageVersion=${{ env.RELEASE_VERSION }} + run: dotnet pack ./src/X.Serilog.Sinks.Telegram/X.Serilog.Sinks.Telegram.csproj --configuration Release --no-build --output nupkgs /p:PackageVersion=${{ env.RELEASE_VERSION }} - name: Push to NuGet run: dotnet nuget push "nupkgs/**/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json diff --git a/src/X.Serilog.Sinks.Telegram/X.Serilog.Sinks.Telegram.csproj b/src/X.Serilog.Sinks.Telegram/X.Serilog.Sinks.Telegram.csproj index bd7c97b..07fc315 100644 --- a/src/X.Serilog.Sinks.Telegram/X.Serilog.Sinks.Telegram.csproj +++ b/src/X.Serilog.Sinks.Telegram/X.Serilog.Sinks.Telegram.csproj @@ -3,15 +3,18 @@ net8.0 true + true + X.Serilog.Sinks.Telegram - Vladislav Bardin + Vladyslav Bardin This is a sink for Serilog logger that allows you to write logs or notifications just to your Telegram. This logger is fully compatible with Serilog's infrastructure and supports all its features. For more info and examples, visit sink's repository - Copyright (c) 2021 Vladislav Bardin + Copyright (c) 2024 Vladyslav Bardin https://github.com/Bardin08/X.Serilog.Sinks.Telegram https://github.com/Bardin08/X.Serilog.Sinks.Telegram serilog-sink, serilog, serilog-extensions 12 enable + 3.0.1