Skip to content

Commit

Permalink
Fix NuGet symbols + Deterministic build (#2)
Browse files Browse the repository at this point in the history
* Fix NuGet symbols + Deterministic build
  • Loading branch information
Pjotrtje authored Dec 30, 2022
1 parent 11337cc commit 6940af7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pipeline/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pool:

variables:
- name : version
value : '1.0.0'
value : '1.0.1'

stages:
- stage: Build
Expand Down Expand Up @@ -129,9 +129,13 @@ stages:
changeLogType: 'issueBased'
isPreRelease: $(isPreRelease)

- task: NuGetToolInstaller@1
displayName: 'Install latest nuget.exe'

- task: NuGetCommand@2
displayName: 'Push to nuget.org'
inputs:
command: 'push'
packagesToPush: '$(Agent.TempDirectory)/NuGet/**/*.nupkg;!$(Agent.TempDirectory)/NuGet/**/*.symbols.nupkg'
packagesToPush: '$(Agent.TempDirectory)/NuGet/**/*.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'NuGet.org'
4 changes: 4 additions & 0 deletions src/Fluxor.Undo/Fluxor.Undo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<Deterministic>true</Deterministic>
</PropertyGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<None Remove="$(MSBuildProjectName).xml" />
<AdditionalFiles Include="$(MSBuildProjectName).xml" Link="_\$(MSBuildProjectName).xml" />
Expand Down

0 comments on commit 6940af7

Please sign in to comment.