Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
- master
env:
APP_NAME: DynamicExpression
VERSION: 9.0.2
NUGET_HOST: https://www.nuget.org
VERSION: 9.0.3
NUGET_HOST: https://api.nuget.org/v3/index.json
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
jobs:
build-and-deploy:
Expand Down Expand Up @@ -52,8 +52,12 @@ jobs:
if: github.ref == 'refs/heads/master'
shell: pwsh
run: |
dotnet nuget push nupkgs/$env:APP_NAME"."$env:VERSION.nupkg -s $env:NUGET_HOST -k $env:NUGET_APIKEY
dotnet nuget push nupkgs/$env:APP_NAME"."$env:VERSION.snupkg -s $env:NUGET_HOST -k $env:NUGET_APIKEY
dotnet nuget push "nupkgs/*.nupkg" -s $env:NUGET_HOST -k $env:NUGET_APIKEY --skip-duplicate

if ($LastExitCode -ne 0)
{
throw "Publish failed";
};

- name: GitHub Release
if: github.ref == 'refs/heads/master'
Expand Down
6 changes: 3 additions & 3 deletions DynamicExpression/DynamicExpression.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<TargetFrameworks>net9.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PlatformTarget>AnyCPU</PlatformTarget>
<AssemblyVersion>9.0.2.0</AssemblyVersion>
<FileVersion>9.0.2.0</FileVersion>
<Version>9.0.2.0</Version>
<AssemblyVersion>9.0.3.0</AssemblyVersion>
<FileVersion>9.0.3.0</FileVersion>
<Version>9.0.3.0</Version>
<LangVersion>latest</LangVersion>
<Authors>Michael Vivet</Authors>
<Product>Dynamic Expression</Product>
Expand Down