diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index d7e90e5..c393e53 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:PackageVersion=${{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)