Commit 3fa2265
Fix release pipeline: nuspec path, snupkg, auto-pack noise, --no-build
The previous workflow run failed with NU5008 because /p:NuspecFile=..\..\GXOData.Client.nuspec
on the command line did not resolve correctly relative to the GXOData.Client.All csproj
during `dotnet pack`.
- src/GXOdata.Client.All/GXOData.Client.All.csproj:
* Move NuspecFile to the csproj using $(MSBuildThisFileDirectory) so the path is
absolute and unambiguous. Also set NuspecBasePath so file entries in the nuspec
resolve from the repo root.
* Set IncludeSymbols=false. The nuspec doesn't enumerate source/symbol files, so
pack was failing with NU5005 trying to build the snupkg.
* Set GeneratePackageOnBuild=false (overrides upstream Directory.Build.props),
otherwise build would ship an extra default-versioned GXOData.Client.All.1.0.0.nupkg
alongside the proper GeneXus.Odata.Client.*.nupkg.
- .github/workflows/build.yml:
* Drop /p:NuspecFile=..\..\:NuspecFile from the Package step (now in csproj).
* Add --no-build to the Package step so pack reuses the msbuild artifacts instead
of doing its own incremental build, which was hitting transient CS0518 on
netstandard2.0.
* Filter Sign and Publish to GeneXus.Odata.Client.*.nupkg only. Upstream csprojs
(Simple.OData.Client.Core, V3.Adapter, V4.Adapter) auto-pack with their
original IDs and default 1.0.0 version — we don't want to sign or publish those.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 18875cc commit 3fa2265
2 files changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
12 | 23 | | |
13 | 24 | | |
14 | 25 | | |
| |||
0 commit comments