From 579c3bc21febe673a9847f00720be79397bf4cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pozler?= Date: Wed, 18 Oct 2023 09:56:29 +0200 Subject: [PATCH] CI version env fix --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5ed6fd..3094526 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,12 +72,12 @@ jobs: - name: Pack nuget env: NUGET_VERSION: $( echo ${{ steps.release_version.outputs.version }} | sed 's/^v//') - run: cd EvitaDB.Client && dotnet pack -c Release -p:PackageVersion=$NUGET_VERSION --no-build --no-restore + run: cd EvitaDB.Client && dotnet pack -c Release -p:PackageVersion=${{ env.NUGET_VERSION }} --no-build --no-restore - name: Publish nuget env: NUGET_VERSION: $( echo ${{ steps.release_version.outputs.version }} | sed 's/^v//') - run: cd bin/Release && dotnet nuget push EvitaDB.Client.$NUGET_VERSION.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json + run: cd bin/Release && dotnet nuget push EvitaDB.Client.${{ env.NUGET_VERSION }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json - name: Create release id: create_release