Skip to content

Commit

Permalink
[net]build: use SailsPackagesVersionInternal property (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky authored Dec 3, 2024
1 parent ecf0ae5 commit f907e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
dotnet nuget add source ${{ github.workspace }}/nugets --name local
dotnet build --configuration Release \
-p:LibraryRoot=${{ github.workspace }}/native_client_gens \
-p:SailsPackagesVersion=${{ needs.prepare.outputs.r_version }}
-p:SailsPackagesVersionOverride=${{ needs.prepare.outputs.r_version }}
dotnet test --no-build --configuration Release --logger "trx;LogFileName=TestResults.trx"
- name: Publish NuGet Packages to NuGet.org
Expand Down
3 changes: 2 additions & 1 deletion net/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</PropertyGroup>

<PropertyGroup>
<SailsPackagesVersion>0.0.1-beta.6</SailsPackagesVersion>
<SailsPackagesVersion Condition="'$(SailsPackagesVersionOverride)' == ''">0.0.1-beta.6</SailsPackagesVersion>
<SailsPackagesVersion Condition="'$(SailsPackagesVersionOverride)' != ''">$(SailsPackagesVersionOverride)</SailsPackagesVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit f907e37

Please sign in to comment.