Skip to content

Commit 7825d13

Browse files
committed
fix: prerelease pack issues resolved
1 parent c06bb7d commit 7825d13

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,11 @@ jobs:
189189
run: |
190190
VERSION="${{ steps.release.outputs.version }}"
191191
PRERELEASE_VERSION="${VERSION}-preview.${{ github.run_number }}"
192-
sed -i "s|<Version>.*</Version>|<Version>${PRERELEASE_VERSION}</Version>|" Directory.Build.props
193192
rm dist/packages/*.nupkg
194-
pnpm nx run-many -t pack
195-
sed -i "s|<Version>.*</Version>|<Version>${VERSION}</Version>|" Directory.Build.props
193+
dotnet pack Flowthru.slnx \
194+
--no-build \
195+
-c Release \
196+
/p:Version="${PRERELEASE_VERSION}"
196197
dotnet nuget push "dist/packages/*.nupkg" \
197198
--api-key "${FLOWTHRU_NUGET_API_KEY}" \
198199
--source https://api.nuget.org/v3/index.json \

0 commit comments

Comments
 (0)