diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9443995..3698b3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,11 +73,12 @@ jobs: env: NUGET_VERSION: $( echo ${{ steps.release_version.outputs.version }} | sed 's/^v//') run: | - export CURRENT_VERSION=${{ steps.release_version.outputs.version }} + export CURRENT_VERSION="${{ steps.release_version.outputs.version }}" echo "Current version: $CURRENT_VERSION" - export NEW_VERSION=$( echo ${{ $CURRENT_VERSION }} | sed 's/^v//') + export NEW_VERSION="$( echo ${CURRENT_VERSION} | sed 's/^v//')" echo "New version: $NEW_VERSION" - cd EvitaDB.Client && dotnet pack -c Release -p:PackageVersion=$NEW_VERSION --no-build --no-restore + cd EvitaDB.Client + dotnet pack -c Release -p:PackageVersion="${NEW_VERSION}" --no-build --no-restore - name: Publish nuget env: