Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Khertys committed Oct 18, 2023
1 parent 3dcf234 commit 522b582
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 522b582

Please sign in to comment.