diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml index 0d8c9e1..6d0a0d3 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/nuget-publish.yml @@ -14,7 +14,7 @@ jobs: dotnet-version: '2.1.x' - name: Build packages run: | - version=$(grep -oP '(?<=)[^<]+' $(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 {} . \;