Skip to content

Commit

Permalink
Proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
sandermvanvliet committed Feb 13, 2025
1 parent a32d0eb commit 2e750fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build -c Release -p:VersionSuffix=alpha ./SerilogSinksInMemory.sln
run: dotnet build -c Release -p:Version=${{ steps.shortversion.outputs.shortversion }} ./SerilogSinksInMemory.sln

- name: Test
run: dotnet test --verbosity normal -c Release

- name: Create NuGet package for Serilog.Sinks.InMemory
run: dotnet pack ./src/Serilog.Sinks.InMemory/Serilog.Sinks.InMemory.csproj -c Release -o ./packages -p:VersionSuffix=-alpha
run: dotnet pack ./src/Serilog.Sinks.InMemory/Serilog.Sinks.InMemory.csproj -c Release -o ./packages -p:Version=${{ steps.shortversion.outputs.shortversion }}

- name: Create NuGet package for Serilog.Sinks.InMemory.Assertions
run: dotnet pack ./src/Serilog.Sinks.InMemory.Assertions/Serilog.Sinks.InMemory.Assertions.csproj -c Release -o ./packages -p:VersionSuffix=-alpha
run: dotnet pack ./src/Serilog.Sinks.InMemory.Assertions/Serilog.Sinks.InMemory.Assertions.csproj -c Release -o ./packages -p:Version=${{ steps.shortversion.outputs.shortversion }}

- name: Run integration tests for FluentAssertions 5
working-directory: test/Serilog.Sinks.InMemory.Assertions.Tests.Integration.FluentAssertions5
Expand Down

0 comments on commit 2e750fe

Please sign in to comment.