From 8e6318b98ac7146643427d791478211feed314f6 Mon Sep 17 00:00:00 2001 From: Anatoly Popov Date: Tue, 21 Nov 2023 11:26:54 +0300 Subject: [PATCH] 16 Signed-off-by: Anatoly Popov --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f02efc..accf2c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: if: success() run: | set +x - $NUGET_VERSION=git describe --tags --abbrev=1 | sed 's/-/./' + NUGET_VERSION=$(git describe --tags --abbrev=1 | sed 's/-/./') dotnet pack -c Release --no-build -v minimal -o ${{ env.NuGetDirectory }} -p:PackageVersion=$NUGET_VERSION - name: Publish NuGet package if: success() && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)