From 567af75590412fcf88a456c62f4ba9050bd51ca0 Mon Sep 17 00:00:00 2001 From: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com> Date: Sat, 10 Feb 2024 00:23:31 +0100 Subject: [PATCH] Update nuget.yml --- .github/workflows/nuget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index c494d4d..f50672a 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -24,7 +24,7 @@ jobs: NUGET_ENABLE_LEGACY_CSPROJ_PACK: true run: | nuget restore - gci -Recurse -Filter *.nuspec | foreach { nuget pack "$($_.DirectoryName)\$($_.BaseName).csproj" -build -properties Configuration=Release } + gci -Recurse -Filter *.nuspec | foreach { nuget pack "$($_.DirectoryName)\$($_.BaseName).csproj" -build -properties Configuration=Release /p:Version=$(Build.BuildNumber) } - name: Nuget push working-directory: .