Skip to content

Commit

Permalink
Update nuget-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
unionsdk authored Sep 4, 2023
1 parent 40692cd commit 3f9261c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
dotnet-version: '2.1.x'
- name: Build packages
run: |
version=$(grep -oP '(?<=<Version>)[^<]+' $(find "${GITHUB_WORKSPACE}/Services" -maxdepth 2 -mindepth 2 -type f -name *.csproj -print -quit))
version=$(cat VERSION)
echo "version is ${version}, packing to release..."
dotnet pack -c Release /p:PackageVersion="${version}"
find . -type f -name "*.nupkg" -exec cp {} . \;
Expand Down

0 comments on commit 3f9261c

Please sign in to comment.