From 038a7dce863508973cb291b7cf6c1ddc305f8046 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 8 Feb 2024 13:45:41 +0100 Subject: [PATCH] chore: potential fix for empty nupkg --- .gitea/workflows/release.yaml | 4 +++- Rai.PacketMediator.csproj | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index d7e90e5..3ea2e60 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -49,7 +49,9 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV shell: bash - name: Pack nugets - run: dotnet build -p:PackageVersion=${{env.VERSION}} -c Release --output . + run: | + dotnet build Rai.PacketMediator.csproj -c Release -p:PackageVersion=${{env.VERSION}} + dotnet pack -c Release -p:PackaVersion=${{env.VERSION}} --output . - name: Push to NuGet run: | dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://forge.rainote.dev/api/packages/rainote/nuget/index.json diff --git a/Rai.PacketMediator.csproj b/Rai.PacketMediator.csproj index d8a4e2a..c886d0d 100644 --- a/Rai.PacketMediator.csproj +++ b/Rai.PacketMediator.csproj @@ -4,8 +4,12 @@ net8.0 enable enable - True $(PackageVersion) + https://forge.rainote.dev/rainote/PacketMediator + https://forge.rainote.dev/rainote/PacketMediator/src/branch/main/LICENSE + https://forge.rainote.dev/rainote/PacketMediator + GIT + $(PackageVersion)