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)